名前空間
変種
操作

std::move_sentinel<S>::operator=

From cppreference.com
 
 
イテレータライブラリ
イテレータのコンセプト
イテレータのプリミティブ
アルゴリズムのコンセプトとユーティリティ
間接呼び出し可能コンセプト
共通アルゴリズム要件
(C++20)
(C++20)
(C++20)
ユーティリティ
(C++20)
イテレータアダプタ
Rangeアクセス
(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() が代入されます。

目次

[編集] パラメータ

その他 - 代入するセンチネルアダプタ

[編集] 戻り値

*this

[編集]

[編集] 関連項目

別のmove_iteratorを代入する
(std::move_iterator<Iter>のメンバ関数) [編集]
English 日本語 中文(简体) 中文(繁體)