◐ Shell
clean mode source ↗

std::stack::empty - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Verifica se o recipiente subjacente não tem elementos, ou seja, se c.empty().

Original:

Checks if the underlying container has no elements, i.e. whether c.empty().

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

true se o recipiente subjacente está vazio, false contrário

Original:

true if the underlying container is empty, false otherwise

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

devolve o número de elementos

Original:

returns the number of elements

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]