public member function
<sstream>

std::basic_stringstream::operator=

copy (1)
basic_stringstream& operator= (const basic_stringstream&) = delete;
move (2)
basic_stringstream& operator= (basic_stringstream&& rhs);
移動賦值
獲取rhs的內容,透過移動賦值其成員和基類。

Move assigning its internal basic_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 basic_stringstream object with the same template parameters (charT, traits and Alloc).

返回值

*this

資料競爭

修改兩個流物件(*thisrhs)。

異常安全

無異常保證:此成員函式從不丟擲異常。

另見