std::experimental::ranges::iterator_t, std::experimental::ranges::sentinel_t
来自cppreference.com
< cpp | experimental | ranges
定义于头文件 <experimental/ranges/range>
|
||
template< class T > using iterator_t = decltype(ranges::begin(declval<T&>())); |
(1) | (范围 TS) |
template< class T > using sentinel_t = decltype(ranges::end(declval<T&>())); |
(2) | (范围 TS) |
获得范围 T
的迭代器和哨位类型。