public member function
<sstream>

std::istringstream::operator=

copy (1)
istringstream& operator= (const istringstream&) = delete;
move (2)
istringstream& operator= (istringstream&& rhs);
移动赋值
获取rhs的内容,通过移动赋值其成员和基类。

Move assigning its internal stringbuf object leaves unspecified whether the internal sequence of characters is the one in rhs before the call, or a copy of it. In any case, both objects use independent sequences after the call.

参数

rhs
Another istringstream object.

返回值

*this

数据竞争

修改两个流对象(*thisrhs)。

异常安全

无异常保证:此成员函数从不抛出异常。

另见