std::unordered_set::count
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
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é
Amortized constant on average, worst case linear in the size of the container.
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) | |