std::basic_iostream::swap
De cppreference.com
< cpp | io | basic iostream
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
protected: void swap( basic_iostream& other ); |
(desde C++11) | |
Exchanges the state with another input/output stream object. Effectively calls basic_istream<CharT,Traits>::swap(other).
This member function is protected: it is called by the swap member functions of the derived stream classes std::basic_stringstream and std::basic_fstream, which know how to correctly swap the associated stream buffers.
[editar] Parámetros
other | - | another stream to exchange the state with |
[editar] Valor de retorno
*this