std::unordered_multiset::count
Da cppreference.com.
< cpp | container | unordered multiset
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
| size_type count( const Key& key ) const; |
||
Restituisce il numero di elementi con
key chiave.Original:
Returns the number of elements with key
key.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica] Parametri
| key | - | valore chiave degli elementi da contare
Original: key value of the elements to count The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
Numero di elementi con
key chiaveOriginal:
Number of elements with key
keyThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Complessità
Amortized constant on average, worst case linear in the size of the container.
[modifica] Vedi anche
| trova elemento con chiave specifica 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. (metodo pubblico) | |
| torna gamma di elementi che corrispondono un tasto specifico 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. (metodo pubblico) | |