名稱空間
變體
操作

std::move_sentinel<S>::operator=

來自 cppreference.com
 
 
迭代器庫
迭代器概念
(C++20)
迭代器原語
(C++17 中已棄用)


演算法概念與工具
間接可呼叫概念
常用演算法要求
(C++20)
(C++20)
(C++20)
工具
(C++20)
迭代器介面卡
範圍訪問
(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> 的公共成員函式) [編輯]