/*sentinel*/() = default; | (1) | (since C++23) |
constexpr /*sentinel*/( /*sentinel*/<!Const> i ) requires Const && std::convertible_to</*zentinel*/<false>, /*zentinel*/<Const>>; | (2) | (since C++23) |
constexpr explicit /*sentinel*/( /*zentinel*/<Const> inner ); // exposition only | (3) | (since C++23) |
Constructs a sentinel.
/*sentinel*/<false>
to /*sentinel*/<true>
. Move constructs the underlying object inner_
with std::move(i.inner_)
.inner_
with inner
. This constructor is not accessible to users.i | - | a /*sentinel*/<false> |
inner | - | an object of type zentinel<Const> |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/zip_transform_view/sentinel/sentinel