protected: void move( basic_ios& other );
protected: void move( basic_ios&& other );
Replaces the current state with that of
other, except for the associated
other is in valid, but unspecified state after the call. After the call to this function,
other.rdbuf() returns the same value as before the call, and
other.tie() returns 0.
This member function is protected: it is called by the protected move constructors of the derived stream classes
std::basic_istream, which, in turn, are called by the public move constructors of the further derived stream classes such as
std::basic_ofstream, which know how to correctly move the associated streambuffer.
| swaps with another
(protected member function)
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.