std::queue::front - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
||
|
|
||
Retorna referência para o primeiro elemento na fila. Este elemento será o primeiro elemento a ser removido em uma chamada para pop(). Efetivamente chama c.front().
Original:
Returns reference to the first element in the queue. This element will be the first element to be removed on a call to pop(). Effectively calls c.front().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
(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.
Valor de retorno
a referência ao primeiro elemento
Original:
reference to 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.
Complexidade
Constante
Original:
Constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Veja também
| access the last element (of std::{{{1}}} função pública membro) [edit]
| |
remove o primeiro elemento Original: removes the first element The text has been machine-translated via Google Translate. (função pública membro) [edit] | |