Namespaces
Variants
Views
Actions

std::basic_ofstream::operator=

From cppreference.com
< cpp‎ | io‎ | basic ofstream
Revision as of 02:10, 2 August 2014 by D41D8CD98F (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
basic_ofstream& operator=( basic_ofstream&& other );
(since C++11)

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

(C++11)
swaps two file streams
(public member function) [edit]