Namespaces
Variants
Views
Actions

std::{{{1}}}::operator=

From cppreference.com


{{{1}}}& operator=( {{{1}}}&& 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 of std::{{{1}}}) [edit]