Namespaces
Variants
Views
Actions

std::basic_fstream::operator=

From cppreference.com
< cpp‎ | io‎ | basic fstream
Revision as of 21:18, 2 November 2012 by P12bot (Talk | contribs)

basic_fstream& operator=( basic_fstream&& other );
(since C++11)

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

Contents

Parameters

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

Return value

*this

Example

See also

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