Espaços nominais
Variantes
Acções

std::queue::operator=

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

 
 
 
std :: fila
Funções de membro
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=
acesso. Elemento
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
Capacidade
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
Modificadores
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) (a partir do C++ 11)
Substitui o conteúdo do recipiente com os adaptadores de 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)
Copiar operador de atribuição. Substitui o conteúdo com uma cópia do conteúdo do other. Efetivamente chama c = other.c;. (declarada implicitamente)
Original:
Copy assignment operator. Replaces the contents with a copy of the contents of other. Effectively calls c = other.c;. (declarada implicitamente)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Mova operador de atribuição. Substitui o conteúdo com os de other usando a semântica de movimento. Efetivamente chama c = std::move(other.c); (declarada implicitamente)
Original:
Move assignment operator. Replaces the contents with those of other using move semantics. Effectively calls c = std::move(other.c); (declarada implicitamente)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Índice

[editar] Parâmetros

other -
outro adaptador de recipiente a ser utilizado como fonte
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.

[editar] Valor de retorno

*this

[editar] Complexidade

Equivalente ao de {{{1}}} do recipiente subjacente.
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.

[editar] Veja também

constrói o queue
Original:
constructs the queue
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função pública membro) [edit]