On this page
std::ranges::transform_view<V,F>::sentinel<Const>::sentinel
|
(1) | (since C++20) |
|
(2) | (since C++20) |
|
(3) | (since C++20) |
Constructs a sentinel.
1) Default constructor. Value-initializes the underlying sentinel.
2) Initializes the underlying sentinel with
end
.
3) Conversion from
/*sentinel*/<false>
to /*sentinel*/<true>
. Move constructs corresponding members.
Parameters
end | - | a sentinel representing the end of (possibly const-qualified) V |
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/transform_view/sentinel/sentinel