◐ Shell
clean mode source ↗

std::map::count — cppreference.com

De cppreference.com

<tbody> </tbody>

size_type count( const Key& key ) const;

Retourne le nombre d'éléments avec la clé key.

Paramètres

key - valeur de la clé des éléments à compter

Valeur de retour

Nombre d'éléments avec la clé key

Complexité

Logarithmic in the size of the container plus linear in the number of the elements found.

Voir aussi

trouve l'élément avec la clé spécifique

Original:

finds element with specific key

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]

rendements varient d'éléments correspondant à une clé spécifique

Original:

returns range of elements matching a specific key

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]