Espaces de noms
Variantes
Affichages
Actions

std::queue::operator=

De cppreference.com
< cpp‎ | container‎ | queue

 
 
 
std :: file d'attente
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.
queue::queue
queue::~queue
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.
queue::front
queue::back
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.
queue::empty
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.
queue::push
queue::emplace
queue::pop
queue::swap
 
queue<T, Container>&
operator=( const queue<T,Container>& other );
(1)
queue<T, Container>&
operator=( queue<T,Container>&& other );
(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.

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.

[modifier] Voir aussi

Construit la queue
(fonction membre publique) [edit]