◐ Shell
clean mode source ↗

std::priority_queue::size — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Retourne le nombre d'éléments dans le conteneur sous-jacent, c'est-à 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.

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

le nombre d'éléments dans le conteneur

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.

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

vérifie si le conteneur sous-jacent est vide

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.


(fonction membre publique) [edit]