Scroll to navigation

std::experimental::ranges::InputIterator(3) C++ Standard Libary std::experimental::ranges::InputIterator(3)

NAME

std::experimental::ranges::InputIterator - std::experimental::ranges::InputIterator

Synopsis


Defined in header <experimental/ranges/iterator>
template < class I >


concept bool InputIterator =
Iterator<I> && Readable<I> && (ranges TS)
requires { typename ranges::iterator_category_t<I>; } &&


DerivedFrom<ranges::iterator_category_t<I>,
ranges::input_iterator_tag>;


The InputIterator concept is a refinement of Iterator, adding the requirement that
the referenced values can be read (via Readable) and the requirement that the
iterator category tag be present.

Notes


Unlike the input iterator requirements in the C++ standard, InputIterator in the
Ranges TS does not require EqualityComparable.

2022.07.31 http://cppreference.com