std::basic_fstream::swap
De cppreference.com
< cpp | io | basic fstream
![]() | 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í. |
void swap( basic_fstream& other ); | (desde C++11) | |
Intercambios del estado de la corriente con los de
other
. Original:
Exchanges the state of the stream with those of
other
. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Esto se hace llamando a basic_istream<CharT, Traits>::swap(other) y rdbuf->swap(other->rdbuf) .
Original:
This is done by calling basic_istream<CharT, Traits>::swap(other) and rdbuf->swap(other->rdbuf).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Contenido |
[editar]Parámetros
other | - | transmitir a cambiar el estado con Original: stream to exchange the state with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar]Valor de retorno
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Ejemplo
Esta sección está incompleta Razón: sin ejemplo |
[editar]Ver también
(C++11) | mueve la secuencia de archivo Original: moves the file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública) |
(C++11) | swaps dos objetos basic_filebuf Original: swaps two basic_filebuf objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::basic_filebuf ) |