[ Web Proxy ]
URL:
Viewing: https://de.cppreference.com/cpp/container/stack/swap2 [Back]  [Original]

std::swap(std::stack) cppreference.com
cppreference.com
Namensrume
Varianten

std::swap(std::stack)

Aus cppreference.com

<metanoindex/>

 
 
 
std :: stack
Member-Funktionen
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::stack
stack::~stack
stack::operator=
Elementzugriff zerstrt
Original:
Element access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::top
Kapazitt
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::empty
stack::size
Modifiers
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::push
stack::emplace
stack::pop
stack::swap
 

Vorlagenschleife entdeckt: Vorlage:include page

<tbody> </tbody>
template< > void swap( stack<> &lhs, stack<> &rhs );
Spezialisiert die std::swap Algorithmus fr std::stack. Tauscht die Inhalte lhs und rhs. Anrufe lhs.swap(rhs) .
Original:
Specializes the std::swap algorithm for std::stack. Swaps the contents of lhs and rhs. 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.

Parameter

lhs, rhs -
Behlter, deren Inhalt zu tauschen
Original:
containers whose contents to swap
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rckgabewert

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

Komplexitt

Same as swapping the underlying container.

Siehe auch

tauscht die Inhalte
Original:
swaps the contents
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]

Web Proxy Viewer  |  New URL  |  Original Page