Namespace
Varianti

std::stack::operator=

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

 
 
 
std :: stack
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.
stack::stack
stack::~stack
stack::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.
stack::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.
stack::empty
stack::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.
stack::push
stack::emplace
stack::pop
stack::swap
 
stack<T, Container>&
operator=( const stack<T,Container>& other );
(1)
stack<T, Container>&
operator=( stack<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 stack
(metodo pubblico) [modifica]