std::basic_stringstream::operator=
来自cppreference.com
< cpp | io | basic stringstream
basic_stringstream& operator=( basic_stringstream&& other ); |
(C++11 起) | |
移动赋值字符串流 other 给 *this,相当于移动赋值 std::basic_iostream 基类和关联的 std::basic_stringbuf。
注意,基类的移动赋值会交换 *this 与 other
间的所有流状态变量(除了 rdbuf)。
目录 |
[编辑] 参数
other | - | 移动来源的字符串流 |
[编辑] 返回值
*this
[编辑] 示例
本节未完成 原因:暂无示例 |
[编辑] 参阅
(C++11) |
交换两个字符串流 (公开成员函数) |
(C++11) |
赋值 basic_stringbuf 对象 ( std::basic_stringbuf<CharT,Traits,Allocator> 的公开成员函数)
|
(C++11) |
移动赋值另一 basic_iostream (受保护成员函数) |