| Home | Libraries | People | FAQ | More

## 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> >
      decltype(access::base(std::declval< IteratorInterface1 & >())==access::base(std::declval< IteratorInterface2 & >()))
      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`.