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 equal

boost::compute::equal

Synopsis

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


template<typename InputIterator1, typename InputIterator2> 
  bool equal(InputIterator1 first1, InputIterator1 last1, 
             InputIterator2 first2, 
             command_queue & queue = system::default_queue());
template<typename InputIterator1, typename InputIterator2> 
  bool equal(InputIterator1 first1, InputIterator1 last1, 
             InputIterator2 first2, InputIterator2 last2, 
             command_queue & queue = system::default_queue());

Description

Returns true if the range [first1, last1) and the range beginning at first2 are equal.

Space complexity: (1)


PrevUpHomeNext