cpp/io/basic ios/move

Replaces the current state with that of, except for the associated. is in valid, but unspecified state after the call. After the call to this function, rdbuf returns a null pointer, returns the same value as before the call, and  returns a null pointer.

This member function is protected: it is called by the protected move constructors of the derived stream classes std and std, which, in turn, are called by the public move constructors of the further derived stream classes such as std, which know how to correctly move the associated streambuffer.

Return value
(none)