Espacios de nombres
Variantes
Acciones

std::priority_queue::operator=

De cppreference.com

 
 
 
std :: priority_queue
Las funciones miembro
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=
Elemento acceso
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
Capacidad
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)
Reemplaza el contenido de la adaptador del recipiente con los 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 el operador de asignación. Reemplaza el contenido con una copia de los contenidos de other. Efectivamente llama c = other.c;. (implícitamente declarado)
Original:
Copy assignment operator. Replaces the contents with a copy of the contents of other. Effectively calls c = other.c;. (implícitamente declarado)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Mueva operador de asignación. Reemplaza el contenido con los de other utilizando la semántica de movimiento. Efectivamente llama c = std::move(other.c); (implícitamente declarado)
Original:
Move assignment operator. Replaces the contents with those of other using move semantics. Effectively calls c = std::move(other.c); (implícitamente declarado)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

other -
otro adaptador del recipiente para ser utilizado como fuente
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] Complejidad

Equivalente a la de {{{1}}} del contenedor subyacente .
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] Ver también

construye el 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.

(miembro público función) [edit]