Namensräume
Varianten
Aktionen

std::swap(std::{{{1}}})

Aus cppreference.com


template< class T >
void swap( {{{1}}}<T> &lhs, {{{1}}}<T> &rhs );
Spezialisiert die std::swap Algorithmus für std::{{{1}}}. Exchanges den Zustand der lhs mit der rhs. Effektiv nennt lhs.swap(rhs) .
Original:
Specializes the std::swap algorithm for std::{{{1}}}. 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.

Inhaltsverzeichnis

[Bearbeiten] Parameter

lhs, rhs -
Bäche, deren Zustand zu tauschen
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.

[Bearbeiten] 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.

[Bearbeiten] Ausnahmen

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

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

(C++11)
swaps two string streams
(öffentliche Elementfunktion of std::{{{1}}}) [edit]