public member function
<fstream>

std::ifstream::operator=

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

引數

rhs
Another ifstream object.

返回值

*this

資料競爭

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

異常安全

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

另見