Defined in header <ranges> | ||
---|---|---|
template <class T> using iterator_t = decltype(ranges::begin(declval<T&>())); | (1) | (since C++20) |
template <class T> using sentinel_t = decltype(ranges::end(declval<T&>())); | (2) | (since C++20) |
T
.T
.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/ranges/iterator_t