...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::is_sorted
// In header: <boost/compute/algorithm/is_sorted.hpp> template<typename InputIterator, typename Compare> bool is_sorted(InputIterator first, InputIterator last, Compare compare, command_queue & queue = system::default_queue());
Returns true
if the values in the range [first
, last
) are in sorted order.
Space complexity: \Omega(1)
See Also:
sort()
Parameters: |
|
||||||||
Returns: |
|