std::unordered_set::count
De cppreference.com
< cpp | container | unordered set
size_type count(const Key& key )const; | ||
Retourne le nombre d'éléments avec la clé key
.
Sommaire |
[modifier]Paramètres
key | - | valeur de la clé des éléments à compter |
[modifier]Valeur de retour
Nombre d'éléments avec la clé key
[modifier]Complexité
Amortized constant on average, worst case linear in the size of the container.
[modifier]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) | |
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) |