On this page
std::ranges::adjacent_transform_view<V,F,N>::sentinel<Const>::sentinel
|
(1) | (since C++23) |
|
(2) | (since C++23) |
|
(3) | (exposition only*) |
Construct a sentinel.
2) Conversion from
/*sentinel*/<false>
to /*sentinel*/<true>
. Move constructs the underlying sentinel inner_
with std::move(i.inner_)
.
3) This sentinel also has a private constructor which is used by
ranges::adjacent_transform_view::end
. This constructor is not accessible to users. Initializes the underlying sentinel inner_
with inner
.
Parameters
i | - | an /*sentinel*/<false> |
inner | - | a sentinel of type adjacent_transform_view:: inner_sentinel |
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/adjacent_transform_view/sentinel/sentinel