std::basic_stringstream::swap
De cppreference.com
< cpp | io | basic stringstream
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
void swap( basic_stringstream& other ); | (depuis C++11) | |
Les échanges de l'état du cours d'eau à ceux 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.
Cela se fait en appelant basic_istream<CharT, Traits>::swap(other) et 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.
Sommaire |
[modifier]Paramètres
other | - | diffuser d'échanger avec l'Etat 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. |
[modifier]Retourne la valeur
(Aucun)
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.
[modifier]Exemple
This section is incomplete Reason: no example |
[modifier]Voir aussi
(C++11) | déplace le flux de chaîne 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. (fonction membre publique) |
(C++11) | swaps de deux objets 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. (fonction membre publique de std::basic_stringbuf ) |