Namespace
Varianti

std::queue::push

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

 
 
 
std :: coda
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.
queue::queue
queue::~queue
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.
queue::front
queue::back
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.
queue::empty
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.
queue::push
queue::emplace
queue::pop
queue::swap
 
void push( const T& value );
void push( T&& value );
(dal C++11)

Pushes the given element value to the end of the queue.

1) Effectively calls c.push_back(value)

2) Effectively calls c.push_back(std::move(value))

Indice

[modifica] Parametri

value -
il valore dell'elemento di spingere
Original:
the value of the element to push
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

(Nessuno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Complessità

Equal to the complexity of Container::push_back.

[modifica] Vedi anche

(C++11)
constructs element in-place at the end
(metodo pubblico) [modifica]
rimuove il primo elemento
Original:
removes the first element
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(metodo pubblico) [modifica]