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);
Move assignment
Acquires the contents of rhs, by move-assigning its members and base classes.

Parameters

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

Return Value

*this

Data races

Modifies both stream objects (*this and rhs).

Exception safety

No-throw guarantee: this member function never throws exceptions.

See also