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) | (C++20 이후) |
|
constexpr
explicit
move_sentinel
(
S x
)
;
|
(2) | (C++20 이후) |
|
template
<
class
S2
>
requires
std::
convertible_to
<
const
S2
&
, S
>
|
(3) | (C++20 이후) |
새로운 센티넬 어댑터를 생성합니다.
1)
기본 생성자. 내부 센티널이 값 초기화됩니다.
2)
기본 센티넬은
x
로 초기화됩니다.
3)
기본 센티넬은
other
의 센티넬로 초기화됩니다.
매개변수
| x | - | 센티넬을 적용할 대상 |
| other | - | 복사할 센티넬 어댑터 |
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
새로운
move_iterator
를 생성한다
(
std::move_iterator<Iter>
의 public 멤버 함수)
|