std::basic_istringstream::operator=
来自 cppreference.cn
< cpp | io | basic istringstream
basic_istringstream& operator=( basic_istringstream&& other ); |
(since C++11) | |
移动赋值字符串流 other 到 *this,有效地移动赋值了 std::basic_istream 基类和关联的 std::basic_stringbuf。
注意基类移动赋值在 *this 和 other 之间交换所有流状态变量(除了 rdbuf)。
目录 |
[编辑] 参数
other | - | 要移动的字符串流 |
[编辑] 返回值
*this
[编辑] 示例
本节尚不完整 原因:没有示例 |
[编辑] 参见
(C++11) |
交换两个字符串流 (公共成员函数) |
(C++11) |
赋值 basic_stringbuf 对象( std::basic_stringbuf<CharT,Traits,Allocator> 的公共成员函数) |
(C++11) |
从另一个 basic_istream 移动赋值(受保护的成员函数) |