std::move_sentinel<S>::move_sentinel
From cppreference.com
< cpp | iterator | move sentinel
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Iterator library
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)(C++20)(C++23)(C++20)(C++20)
(deprecated in C++17)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++14)
(C++11)
(C++11)
(C++20)(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++23)
(C++23)
(C++23)
(C++23)
(C++23)
(C++11)(C++14)
(C++14)(C++14)
std::move_sentinel
move_sentinel::move_sentinel
(C++20)
(C++20)
constexpr move_sentinel();
(1)
(since C++20)
constexpr explicit move_sentinel( S x );
(2)
(since C++20)
template< class S2 >
(3)
(since C++20)
requires std::convertible_to <const S2&, S>
Constructs a new sentinel adaptor.
1) Default constructor. The underlying sentinel is value-initialized.
2) The underlying sentinel is initialized with x.
3) The underlying sentinel is initialized with that of other.
[edit] Parameters
x
-
sentinel to adapt
other
-
sentinel adaptor to copy
[edit] Example
This section is incomplete
Reason: no example
Reason: no example