Espacios de nombres
Variantes
Acciones

std::swap(std::basic_stringstream)

De cppreference.com
 
 
 
 
template< class T >
void swap( basic_stringstream<T> &lhs, basic_stringstream<T> &rhs );
Se especializa en el algoritmo std::swap std::basic_stringstream. Intercambios del estado de lhs con la de rhs. Efectivamente llama lhs.swap(rhs) .
Original:
Specializes the std::swap algorithm for std::basic_stringstream. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs).
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

lhs, rhs-
corrientes cuyo estado para intercambiar
Original:
streams whose state to swap
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] Excepciones

(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)
swaps two string streams
(función miembro pública) [editar]