Namespaces
Variants
Views
Actions

std::ranges::input_range

From cppreference.com
< cpp‎ | ranges
Revision as of 20:48, 24 June 2024 by Space Mission (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
Ranges library
Range adaptors
 
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.