protected member function
basic_ostream& operator= (const basic_ostream&) = delete;
basic_ostream& operator= (basic_ostream&& rhs);
Exchanges all internal members between rhs and
*this, except the pointers to the associated stream buffers: rdbuf shall return the same in both objects as before the call.
This is the same behavior as calling member basic_ostream::swap.
Derived classes can call this function to implement move semantics.
- Another basic_ostream object with the same template parameters (charT and traits).
Modifies both stream objects (
*this and rhs).
No-throw guarantee: this member function never throws exceptions.