命名空间
变体
操作

std::move_sentinel<S>::operator=

来自 cppreference.cn
 
 
迭代器库
迭代器概念
(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> 的公共成员函数) [编辑]