std::unordered_map::count
De cppreference.com
size_type count( const Key& key ) const; |
||
Retourne le nombre d'lments avec la cl key.
Paramtres
| key | - | valeur de la cl des lments compter |
Valeur de retour
Nombre d'lments avec la cl key
Complexit
Amortized constant on average, worst case linear in the size of the container.
Voir aussi
trouve l'lment avec la cl spcifique 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'lments correspondant une cl spcifique 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) | |