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

std::queue::swap cppreference.com
cppreference.com
Namensrume
Varianten

std::queue::swap

Aus cppreference.com

<metanoindex/>

 
 
 
std :: Warteschlange
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.
queue::queue
queue::~queue
queue::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.
queue::front
queue::back
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.
queue::empty
queue::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.
queue::push
queue::emplace
queue::pop
queue::swap
 
<tbody> </tbody>
void swap( const queue<T, Container>& other );
Austausch der Inhalt des Behlters mit denen der Adapter other. Effectively calls using std::swap; swap(c, other.c);
Original:
Exchanges the contents of the container adaptor with those of other. Effectively calls using std::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.

Parameter

other -
Behlteradapter 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.

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

Gleich wie darunterliegenden Behlter (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.

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

Web Proxy Viewer  |  New URL  |  Original Page