protected member function
iostream& operator= (const iostream&) = delete;
iostream& operator= (iostream&& rhs);
Exchanges all internal members between rhs and
*this, except the pointer 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 iostream::swap.
Derived classes can call this function to implement move semantics.
- Another istream object.
Modifies both stream objects (
*this and rhs).
No-throw guarantee: this member function never throws exceptions.