◐ Shell
clean mode source ↗

std::queue::back — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

reference back();

const_reference back() const;

Renvoie référence au dernier élément dans la file d'attente. C'est l'élément le plus récemment poussé. Appelle effectivement 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.

Paramètres

(Aucun)

Original:

(none)

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

Retourne la valeur

référence au dernier élément

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.

Complexité

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.

Voir aussi

accède au premier élément
(fonction membre publique de std::{{{1}}}) [edit]

insère l'élément à la fin

Original:

inserts element at the end

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


(fonction membre publique) [edit]