◐ Shell
clean mode source ↗

std::queue::empty — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Vérifie si le conteneur sous-jacent n'a pas d'éléments, à savoir si 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.

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

true si le conteneur sous-jacent est vide, false autrement

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.

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

retourne le nombre d'éléments

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.


(fonction membre publique) [edit]