命名空间
变体
操作

std::basic_stringstream::operator=

来自 cppreference.cn
basic_stringstream& operator=( basic_stringstream&& other );
(since C++11)

移动赋值字符串流 other*this,有效地移动赋值 std::basic_iostream 基类和关联的 std::basic_stringbuf

注意基类移动赋值交换 *thisother 之间的所有流状态变量(除了 rdbuf)。

目录

[edit] 参数

other - 要移动来源的字符串流

[edit] 返回值

*this

[edit] 示例

[edit] 参见

(C++11)
交换两个字符串流
(公共成员函数) [edit]
(C++11)
赋值 basic_stringbuf 对象
(std::basic_stringbuf<CharT,Traits,Allocator> 的公共成员函数) [edit]
(C++11)
移动赋值另一个 basic_iostream
(受保护的成员函数) [edit]