std::experimental::ranges::InputIterator

From cppreference.com
< cpp‎ | experimental‎ | ranges
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Concepts (concepts TS)
Ranges (ranges TS)
Special mathematical functions (special math TR)
 
 
Iterators library
Iterator concepts
Indirect callable concepts
                                                  
                                                  
                                                  
Common algorithm requirements
                                                  
Concept utilities
Iterator utilities and operations
Iterator traits
Iterator adaptors
Stream iterators
 
template < class I >

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

  DerivedFrom<ranges::iterator_category_t<I>, ranges::input_iterator_tag>;
(ranges TS)

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.