◐ Shell
clean mode source ↗

std::basic_stringstream::swap – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

void swap( basic_stringstream& other );

(seit C++11)

Austausch der Zustand des Stroms mit denen 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.

Dies geschieht durch Aufruf basic_istream<CharT, Traits>::swap(other) und rdbuf->swap(other->rdbuf) getan .

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.

Parameter

other -

streamen den Staat mit auszutauschen

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.

Rückgabewert

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Beispiel

Siehe auch

bewegt den String-Stream

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.


(öffentliche Elementfunktion) [edit]

Swaps zwei basic_stringbuf Objekte

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.


(öffentliche Elementfunktion of std::basic_stringbuf) [edit]