std::priority_queue::operator=

Da cppreference.com.

 
 
 
std :: priority_queue
Membri funzioni
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 accesso
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
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.
priority_queue::empty
priority_queue::size
Modificatori
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) (dal C++11)
Sostituisce il contenuto del contenitore dell'adattatore con quelli 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)
Copia operatore di assegnazione. Sostituisce il contenuto con una copia del contenuto di other. Chiama efficacemente c = other.c;. (dichiarato in modo implicito)
Original:
Copy assignment operator. Replaces the contents with a copy of the contents of other. Effectively calls c = other.c;. (dichiarato in modo implicito)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Spostare operatore di assegnazione. Sostituisce il contenuto con quelli della other usando la semantica spostamento. Chiama efficacemente c =std::move(other.c);(dichiarato in modo implicito)
Original:
Move assignment operator. Replaces the contents with those of other using move semantics. Effectively calls c =std::move(other.c);(dichiarato in modo implicito)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Indice

[modifica]Parametri

other -
altro adattatore contenitore da utilizzare come sorgente
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.

[modifica]Valore di ritorno

*this

[modifica]Complessità

Equivalente a quella del {{{1}}} del contenitore sottostante.
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.

[modifica]Vedi anche

costruisce il priority_queue
(metodo pubblico)[modifica]
close