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) | (desde C++20) |
|
constexpr
explicit
move_sentinel
(
S x
)
;
|
(2) | (desde C++20) |
|
template
<
class
S2
>
requires
std::
convertible_to
<
const
S2
&
, S
>
|
(3) | (desde C++20) |
Construye un nuevo adaptador centinela.
1)
Constructor por defecto. El centinela subyacente se inicializa por valor.
2)
El centinela subyacente se inicializa con
x
.
3)
El centinela subyacente se inicializa con el de
other
.
Parámetros
| x | - | centinela para adaptar |
| other | - | adaptador de centinela para copiar |
Ejemplo
|
Esta sección está incompleta
Motivo: sin ejemplo |
Véase también
construye un nuevo
move_iterator
(función miembro pública de
std::move_iterator<Iter>
)
|