[ Web Proxy ]
URL:
Viewing: http://pt.cppreference.com/cpp/container/queue/push [Back]  [Original]

std::queue::push - cppreference.com
cppreference.com
Espaos nominais
Variantes

std::queue::push

De cppreference.com
 
 
 
std :: fila
Funes 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
 
<tbody> </tbody>
void push( const value_type& value );
void push( value_type&& value );
(desde C++11)

Empurra o dado elemento value para o fim da fila.

1) Efetivamente chama c.push_back(value)
2) Efetivamente chama c.push_back(std::move(value))

Parmetros

value - o valor do elemento a empurrar

Valor de retorno

(nenhum)

Complexidade

Igual complexidade de Container::push_back.

Veja tambm

(C++11)
constructs element in-place at the end
(funo pblica 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.

(funo pblica membro) [edit]

Web Proxy Viewer  |  New URL  |  Original Page