std::ranges::input_range

From cppreference.com
< cpp‎ | ranges
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives



Dangling iterator handling
Range concepts
Views

Range factories
Range adaptors
Range generators
Range adaptor objects
Range adaptor closure objects
Helper items
(until C++23)(C++23)


 
Defined in header <ranges>
template< class T >

  concept input_range =

    ranges::range<T> && std::input_iterator<ranges::iterator_t<T>>;
(since C++20)

The input_range concept is a refinement of range for which ranges::begin returns a model of input_iterator.