Espaços nominais
Variantes
Acções

std::queue::push

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

 
 
 
std :: fila
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.
queue::queue
queue::~queue
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.
queue::front
queue::back
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.
queue::empty
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.
queue::push
queue::emplace
queue::pop
queue::swap
 
void push( const T& value );
void push( T&& value );
(a partir do 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))

Índice

[editar] Parâmetros

value -
o valor do elemento de empurrar
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.

[editar] Valor de retorno

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

[editar] Complexidade

Equal to the complexity of Container::push_back.

[editar] Veja também

(C++11)
constructs element in-place at the end
(função pública membro) [edit]
remove o primeiro 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.

(função pública membro) [edit]