On this page
std::ranges::enumerate_view<V>::sentinel<Const>::sentinel
|
(1) | (since C++23) |
|
(2) | (since C++23) |
|
(3) | (exposition only*) |
Constructs a sentinel.
2) Conversion from
/*sentinel*/<false> to /*sentinel*/<true>. Move constructs the underlying sentinel end_ with std::move(other.end_).
3) A private constructor which is used by
enumerate_view::end. Move constructs the end_ with std::move(end) This constructor is not accessible to users.
Parameters
| i | - | a /*sentinel*/<false> |
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/enumerate_view/sentinel/sentinel