public member function


copy (1)
basic_ifstream& operator= (const basic_ifstream&) = delete;
move (2)
basic_ifstream& operator= (basic_ifstream&& rhs);
Move assignment
Acquires the contents of rhs, by move-assigning its members and base classes.


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

Return Value


Data races

Modifies both stream objects (*this and rhs).

Exception safety

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

See also