Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template equal_range

boost::compute::equal_range

Synopsis

// In header: <boost/compute/algorithm/equal_range.hpp>


template<typename InputIterator, typename T> 
  std::pair< InputIterator, InputIterator > 
  equal_range(InputIterator first, InputIterator last, const T & value, 
              command_queue & queue = system::default_queue());

Description

Returns a pair of iterators containing the range of values equal to value in the sorted range [first, last).

Space complexity: (1)


PrevUpHomeNext