命名空间
变体
操作

std::basic_ostringstream::operator=

来自 cppreference.cn
basic_ostringstream& operator=( basic_ostringstream&& other );
(C++11 起)

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

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

目录

[编辑] 参数

其他 - 要从中移动的字符串流

[编辑] 返回值

*this

[编辑] 示例

[编辑] 参阅

(C++11)
交换两个字符串流
(public 成员函数) [编辑]
(C++11)
赋值一个 basic_stringbuf 对象
(std::basic_stringbuf<CharT,Traits,Allocator> 的 public 成员函数) [编辑]
(C++11)
从另一个basic_ostream移动赋值
(protected 成员函数) [编辑]