std::basic_fstream::operator=
From Cppreference
< cpp | io | basic fstream
C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Input/output library | ||||||||||||||||||||||||||||||||||||||||||||||||||||
std::basic_fstream | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
basic_ifstream& operator=( basic_fstream&& 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
This section is incomplete |
[edit] See also
|
swaps two file streams (public member function) |