basic_iostream& operator=( const basic_iostream& other ) = delete; | (1) | |
protected: basic_iostream& operator=( basic_iostream&& other ); | (2) | (since C++11) |
Assigns another stream object.
swap(rhs)
. This move assignment operator is protected: it is called by the move assignment operators of the derived stream classes std::basic_stringstream
and std::basic_fstream
which know how to properly move-assign the associated stream buffers.other | - | another stream to assign state of |
*this
.
constructs the object (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_iostream/operator=