std::stack::swap
Aus cppreference.com
![]() | 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(const stack<T, Container>& other ); | ||
Austausch der Inhalt des Behälters mit denen der Adapter
other
. Effectively calls usingstd::swap; swap(c, other.c);Original:
Exchanges the contents of the container adaptor with those of
other
. Effectively calls usingstd::swap; swap(c, other.c);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.
Inhaltsverzeichnis |
[Bearbeiten]Parameter
other | - | Behälteradapter um die Inhalte mit auszutauschen Original: container adaptor to exchange the contents with 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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten]Komplexität
Gleich wie darunterliegenden Behälter (linear, wenn
Container
ist std :: array, konstante sonst)Original:
Same as underlying container (linear if
Container
is std :: array, constant otherwise)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.
[Bearbeiten]Siehe auch
spezialisiert die std::swap Algorithmus Original: specializes the std::swap algorithm The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |