Espaços nominais
Variantes
Acções

std::priority_queue::operator=

Da cppreference.com

 
 
 
std :: priority_queue
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.
priority_queue::priority_queue
priority_queue::~priority_queue
priority_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.
priority_queue::top
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.
priority_queue::empty
priority_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.
priority_queue::push
priority_queue::emplace
priority_queue::pop
priority_queue::swap
 
priority_queue<T, Container>&
operator=( const priority_queue<T,Container>& other );
(1)
priority_queue<T, Container>&
operator=( priority_queue<T,Container>&& other );
(2) (desde 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 priority_queue
Original:
constructs the priority_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]