Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator==

boost::stl_interfaces::v1::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