std::priority_queue::operator= — cppreference.com
De cppreference.com
<metanoindex/>
<metanoindex/>
<tbody> </tbody>
|
|
(1) | |
|
|
(2) | (depuis C++11) |
Remplace le contenu de l'adaptateur de conteneur avec celles 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.
1)
Copiez opérateur d'affectation. Remplace le contenu d'une copie du contenu de 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.
2)
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.
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. |
Retourne la valeur
*this
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.