itertools::enum_iter::operator==

#include <itertools/enum_iter.hpp>

Synopsis

  1. bool operator== (enum_iter<Iter> const & other) const
  2. template<typename SentinelIter>
    bool operator== (sentinel_t<SentinelIter> const & s) const

Documentation

Template parameters

  • SentinelIter Iterator type of the sentinel.

Parameters

  • other itertools::enum_iter to compare with.

  • s itertools::sentinel_t to compare with.

Returns

True, if the original iterators are equal.