std::move_sentinel<S>:: move_sentinel
From cppreference.net
<
cpp
|
iterator
|
move sentinel
C++
Iterator library
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::move_sentinel
| Member functions | ||||
|
move_sentinel::move_sentinel
|
||||
| Non-member functions | ||||
|
(C++20)
|
||||
|
(C++20)
|
|
constexpr
move_sentinel
(
)
;
|
(1) | (seit C++20) |
|
constexpr
explicit
move_sentinel
(
S x
)
;
|
(2) | (seit C++20) |
|
template
<
class
S2
>
requires
std::
convertible_to
<
const
S2
&
, S
>
|
(3) | (seit C++20) |
Konstruiert einen neuen Sentinel-Adapter.
1)
Standardkonstruktor. Das zugrundeliegende Sentinel wird wertinitialisiert.
2)
Der zugrundeliegende Sentinel wird mit
x
initialisiert.
3)
Der zugrundeliegende Sentinel wird mit dem von
other
initialisiert.
Parameter
| x | - | Sentinel zur Anpassung |
| other | - | Sentinel-Adapter zum Kopieren |
Beispiel
|
Dieser Abschnitt ist unvollständig
Grund: Kein Beispiel |
Siehe auch
Konstruiert einen neuen
move_iterator
(öffentliche Elementfunktion von
std::move_iterator<Iter>
)
|