public member function
<fstream>

std::basic_fstream::operator=

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

引數

rhs
Another basic_fstream object of the same type (with the same template parameters charT and traits).

返回值

*this

資料競爭

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

異常安全

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

另見