◐ Shell
clean mode source ↗

std::queue::size - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Devolve o número de elementos no recipiente subjacente, isto é, c.size().

Original:

Returns the number of elements in the underlying container, i.e, c.size().

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

o número de elementos no recipiente

Original:

the number of elements in the container

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

verifica se o recipiente subjacente está vazio

Original:

checks whether the underlying container is empty

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


(função pública membro) [edit]