itertools::prod_iter::operator==

#include <itertools/prod_iter.hpp>

Synopsis

  1. bool operator== (prod_iter<EndIters, Iters…> 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::prod_iter to compare with.

  • s itertools::sentinel_t to compare with.

Returns

True, if the first iterator, i.e. std::get<0>(its), is equal to the iterator of the sentinel.