命名空间
变体
操作

std::basic_istringstream::operator=

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

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

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

目录

[edit] 参数

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

[edit] 返回值

*this

[edit] 示例

[edit] 参阅

(C++11)
交换两个字符串流
(public member function) [edit]
(C++11)
赋值一个 basic_stringbuf 对象
(public member function of std::basic_stringbuf<CharT,Traits,Allocator>) [edit]
(C++11)
从另一个 basic_istream 移动赋值
(protected member function) [edit]