◐ Shell
clean mode source ↗

std::queue::back - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

reference back();

const_reference back() const;

Retorna referência ao último elemento da fila. Este é o elemento mais recentemente empurrado. Efetivamente chama c.back().

Original:

Returns reference to the last element in the queue. This is the most recently pushed element. Effectively calls c.back().

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

referência para o último elemento

Original:

reference to the last 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

acesso ao primeiro elemento

Original:

access 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.


(of std::{{{1}}} função pública membro) [edit]
inserts element at the end
(função pública membro) [edit]