Espaces de noms
Variantes
Actions

std::priority_queue::swap

De cppreference.com

 
 
 
std :: priority_queue
Les fonctions membres
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.
priority_queue::priority_queue
priority_queue::~priority_queue
priority_queue::operator=
Elément d'accès
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.
priority_queue::top
Capacité
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
priority_queue::empty
priority_queue::size
Modificateurs
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
priority_queue::push
priority_queue::emplace
priority_queue::pop
priority_queue::swap
 
void swap{const priority_queue<T, Container, Compare>& other );
Échanges le contenu de l'adaptateur de réservoir avec ceux de other. Effectively calls usingstd::swap; swap(c, other.c); swap(comp, other.comp);
Original:
Exchanges the contents of the container adaptor with those of other. Effectively calls usingstd::swap; swap(c, other.c); swap(comp, other.comp);
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Sommaire

[modifier]Paramètres

other -
Adaptateur récipient à échanger avec le contenu
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.

[modifier]Retourne la valeur

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

[modifier]Complexité

Idem conteneur sous-jacent (linéaire si Container est std :: array, constante contraire)
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.

[modifier]Voir aussi

l'algorithme spécialisé std::swap
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.

(fonction générique)[edit]
close