std::priority_queue::operator=
De cppreference.com
< cpp | container | priority queue
![]() |
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. |
![]() |
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. |
priority_queue<T, Container>& operator=( const priority_queue<T,Container>& other ); |
(1) | |
priority_queue<T, Container>& operator=( priority_queue<T,Container>&& other ); |
(2) | (depuis C++11) |
Remplace le contenu de l'adaptateur de conteneur avec celles
1) other
.Original:
Replaces the contents of the container adaptor with those of
other
.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.
Copiez opérateur d'affectation. Remplace le contenu d'une copie du contenu de
2) other
. Appelle effectivement c = other.c;. (implicitement déclaré)Original:
Copy assignment operator. Replaces the contents with a copy of the contents of
other
. Effectively calls c = other.c;. (implicitement déclaré)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.
Déplacez opérateur d'affectation. Remplace le contenu avec ceux de
other
en utilisant la sémantique de déplacement. Appelle effectivement c = std::move(other.c); (implicitement déclaré)Original:
Move assignment operator. Replaces the contents with those of
other
using move semantics. Effectively calls c = std::move(other.c); (implicitement déclaré)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.
Sommaire |
[modifier] Paramètres
other | - | un autre adaptateur de réservoir à être utilisé en tant que source
Original: another container adaptor to be used as source 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
*this
[modifier] Complexité
Équivalent à celui de {{{1}}} du conteneur sous-jacent .
Original:
Equivalent to that of {{{1}}} of the underlying container.
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.
[modifier] Voir aussi
Construit le priority_queue (fonction membre publique) |