Namespaces
Variants

std::move_sentinel<S>:: move_sentinel

From cppreference.net
Iterator library
Iterator concepts
Iterator primitives
Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(C++20)
(C++20)
(C++20)
Utilities
(C++20)
Iterator adaptors
Range access
(C++11) (C++14)
(C++14) (C++14)
(C++11) (C++14)
(C++14) (C++14)
(C++17) (C++20)
(C++17)
(C++17)
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 >

constexpr move_sentinel ( const std:: move_sentinel < S2 > & other ) ;
(3) (C++20 이후)

새로운 센티넬 어댑터를 생성합니다.

1) 기본 생성자. 내부 센티널이 값 초기화됩니다.
2) 기본 센티넬은 x 로 초기화됩니다.
3) 기본 센티넬은 other 의 센티넬로 초기화됩니다.

매개변수

x - 센티넬을 적용할 대상
other - 복사할 센티넬 어댑터

예제

참고 항목

새로운 move_iterator 를 생성한다
( std::move_iterator<Iter> 의 public 멤버 함수)