std::swap(std::basic_stringstream)
De cppreference.com
|
|
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í. |
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.
You can help to correct and verify the translation. Click here for instructions.
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. |
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.
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.
You can help to correct and verify the translation. Click here for instructions.
Ejemplo
| Esta sección está incompleta Razón: sin ejemplo |
Ver también
(C++11) |
swaps two string streams (función miembro pública) |