mirror of
https://github.com/boostorg/compute.git
synced 2026-01-27 18:52:15 +00:00
39 lines
1.2 KiB
XML
39 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<header name="boost/compute/algorithm/minmax_element.hpp">
|
|
<namespace name="boost">
|
|
<namespace name="compute">
|
|
|
|
<!-- boost::compute::minmax_element(first, last, queue) -->
|
|
<function name="minmax_element">
|
|
<template>
|
|
<template-type-parameter name="InputIterator"/>
|
|
</template>
|
|
|
|
<type>std::pair<InputIterator, InputIterator></type>
|
|
|
|
<parameter name="first">
|
|
<paramtype>InputIterator</paramtype>
|
|
</parameter>
|
|
<parameter name="last">
|
|
<paramtype>InputIterator</paramtype>
|
|
</parameter>
|
|
<parameter name="queue">
|
|
<paramtype>command_queue &</paramtype>
|
|
</parameter>
|
|
|
|
<description>
|
|
<para>
|
|
Returns a pair of iterators with the first pointing to the minimum
|
|
element and the second pointing to the maximum element in the range
|
|
[<code>first</code>, <code>last</code>).
|
|
</para>
|
|
<para>
|
|
See also: <functionname>min_element()</functionname>,
|
|
<functionname>max_element()</functionname>
|
|
</para>
|
|
</description>
|
|
</function>
|
|
</namespace>
|
|
</namespace>
|
|
</header>
|