Espacios de nombres
Variantes
Acciones

std::queue::front

De cppreference.com
< cpp‎ | container‎ | queue
 
 
 
std :: cola
Las funciones miembro
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.
Elemento acceso
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
Capacidad
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
 
reference front();
const_reference front() const;
Devuelve referencia al primer elemento en la cola. Este elemento será el primer elemento a ser eliminado en una llamada a pop(). Efectivamente llama 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.

Contenido

[editar] Parámetros

(Ninguno)
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] Valor de retorno

referencia al primer 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.

[editar] Complejidad

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

[editar] Ver también

access the last element
(función miembro público de std::{{{1}}}) [editar]
elimina el primer 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.

(función miembro público) [editar]