std::experimental::ranges::ForwardIterator

Header: <experimental/ranges/iterator>

The concept ForwardIterator refines InputIterator by adding equality comparison and the multi-pass guarantee.

# Declarations

template< class I >
concept bool ForwardIterator =
InputIterator<I> &&
DerivedFrom<ranges::iterator_category_t<I>, ranges::forward_iterator_tag> &&
Incrementable<I> &&
Sentinel<I, I>;

(ranges TS)

# Notes

A forward iterator cannot be “stashing”: it cannot return a reference to an object within itself, because such references would be invalidated by the destruction of the forward iterator.