| 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 | ||||
basic_stringstream::operator= | ||||
(C++11) | ||||
| String operations | ||||
(C++20) | ||||
| Non-member functions | ||||
basic_stringstream& operator=( basic_stringstream&& other); | (since C++11) | |
Move assigns the string streamother to*this, effectively move-assigning both thestd::basic_iostream base class and the associatedstd::basic_stringbuf.
Note that the base class move assignment swaps all stream state variables (except forrdbuf) between*this andother.
Contents |
| other | - | string stream to move from |
*this
| This section is incomplete Reason: no example |
(C++11) | swaps two string streams (public member function)[edit] |
(C++11) | assigns abasic_stringbuf object(public member function of std::basic_stringbuf<CharT,Traits,Allocator>)[edit] |
(C++11) | move-assigns anotherbasic_iostream(protected member function)[edit] |