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
的迭代器和哨位类型。