constexpr move_sentinel(); | (1) | (since C++20) |
constexpr explicit move_sentinel( S x ); | (2) | (since C++20) |
template< class S2 > requires std::convertible_to<const S2&, S> constexpr move_sentinel(const std::move_sentinel<S2>& other); | (3) | (since C++20) |
Constructs a new sentinel adaptor.
x
.other
.x | - | sentinel to adapt |
other | - | sentinel adaptor to copy |
(C++11) | constructs a new iterator adaptor (public member function of std::move_iterator<Iter> ) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/move_sentinel/move_sentinel