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

PrevUpHomeNext

Function template operator==

boost::stl_interfaces::operator==

Synopsis

// In header: <boost/stl_interfaces/iterator_interface.hpp>


template<typename IteratorInterface1, typename IteratorInterface2, 
         typename Enable = std::enable_if_t<!v1_dtl::ra_iter<IteratorInterface1>::value> > 
  constexpr auto operator==(IteratorInterface1 lhs, IteratorInterface2 rhs);

Description

Implementation of operator==(), implemented in terms of the iterator underlying IteratorInterface, for all iterators derived from iterator_interface, except those with an iterator category derived from std::random_access_iterator_tag.

Implementation of operator==() for all iterators derived from iterator_interface that have an iterator category derived from std::random_access_iterator_tag.


PrevUpHomeNext