◐ Shell
clean mode source ↗

std::swap(std::basic_stringstream) — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

template< class T > void swap( basic_stringstream<T> &lhs, basic_stringstream<T> &rhs );

Spécialisé l'algorithme std::swap pour std::basic_stringstream. Les échanges de l'état de lhs avec celle de rhs. Appelle effectivement 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.

Paramètres

lhs, rhs -

cours d'eau dont l'état à échanger

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.

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.

Exceptions

(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.

Exemple

Voir aussi

swaps de deux stringstreams

Original:

swaps two string streams

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) [edit]