Espacios de nombres
Variantes
Acciones

std::basic_stringstream::swap

De cppreference.com
 
 
Biblioteca de E/S
Manipuladores de E/S
E/S estilo C
Búferes
(en desuso en C++98)
Flujos
Abstracciones
E/S de archivos
E/S de cadenas
E/S de arrays
(en desuso en C++98)
(en desuso en C++98)
(en desuso en C++98)
Salida sincronizada
Tipos
Interfaz de categoría de error
(C++11)
 
 
void swap( basic_stringstream& 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.
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.

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.

[editar] Ejemplo

[editar] Ver también

(C++11)
mueve la corriente de cadena
Original:
moves the string 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) [editar]
(C++11)
swaps dos objetos basic_stringbuf
Original:
swaps two basic_stringbuf 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_stringbuf) [editar]