Namespaces
Variants

std::move_sentinel<S>:: operator=

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)
template < class S2 >

requires std:: assignable_from < S & , const S2 & >

constexpr move_sentinel & operator = ( const std:: move_sentinel < S2 > & other ) ;
(C++20以降)

基盤となるセンチネルは、 other の基盤となるセンチネルの値が割り当てられます。すなわち other. base ( ) です。

目次

パラメータ

other - 割り当てるためのセンチネルアダプタ

戻り値

* this

関連項目

他の move_iterator を代入する
( std::move_iterator<Iter> の公開メンバ関数)