| I/O manipulators | ||||
| Print functions(C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++20) | ||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
| Synchronized Output | ||||
(C++20) | ||||
| Types | ||||
| Error category interface | ||||
(C++11) | ||||
(C++11) |
| Member functions | ||||
| State functions | ||||
| Formatting | ||||
| Miscellaneous | ||||
| Protected member functions | ||||
basic_ios::move (C++11) | ||||
(C++11) | ||||
(C++11) |
protected: void move( basic_ios& other); | (since C++11) | |
protected: void move( basic_ios&& other); | (since C++11) | |
Replaces the current state with that ofother, except for the associatedrdbuf.other is in valid, but unspecified state after the call. After the call to this function,rdbuf() returns a null pointer,other.rdbuf() returns the same value as before the call, andother.tie() returns a null pointer.
This member function is protected: it is called by the protected move constructors of the derived stream classesstd::basic_ostream andstd::basic_istream, which, in turn, are called by the public move constructors of the further derived stream classes such asstd::basic_ofstream, which know how to correctly move the associated streambuffer.
| other | - | thebasic_ios object to transfer the state from |
(none)
(C++11) | swaps with anotherstd::basic_ios except forrdbuf(protected member function)[edit] |