std::basic_ifstream::operator=

From Cppreference

Jump to: navigation, search
basic_ifstream& operator=( basic_ifstream&& other );
(C++11 feature)

Moves the file stream. The source stream becomes of invalid state after the operation.


Contents

[edit] Parameters

other - file stream to move. other becomes of invalid state after the operation.

[edit] Return value

*this

[edit] Example

[edit] See also

swap (C++11)
swaps two file streams
(public member function)