std::experimental::ranges::iterator_t, std::experimental::ranges::sentinel_t

From cppreference.com
< cpp‎ | experimental‎ | ranges
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
 
 
Ranges library
Range concepts
Range access
Range primitives
iterator_tsentinel_t
                              
                              

 
Defined in header <experimental/ranges/range>
template< class T >
using iterator_t = decltype(ranges::begin(std::declval<T&>()));
(1) (ranges TS)
template< class T >
using sentinel_t = decltype(ranges::end(std::declval<T&>()));
(2) (ranges TS)

Obtain the iterator and sentinel types of a range T.