close
Varianti

std::multiset::count

Da cppreference.com.

<metanoindex/>

 
 
 
std::multiset
Membri funzioni
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multiset::multiset
multiset::~multiset
multiset::operator=
multiset::get_allocator
Iteratori
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multiset::begin
multiset::cbegin

(C++11)
multiset::end
multiset::cend

(C++11)
multiset::rbegin
multiset::crbegin

(C++11)
multiset::rend
multiset::crend

(C++11)
Capacità
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multiset::empty
multiset::size
multiset::max_size
Modificatori
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multiset::clear
multiset::insert
multiset::emplace(C++11)
multiset::emplace_hint(C++11)
multiset::erase
multiset::swap
Lookup
Original:
Lookup
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multiset::count
multiset::find
multiset::equal_range
multiset::lower_bound
multiset::upper_bound
Osservatori
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multiset::key_comp
multiset::value_comp
 
<tbody> </tbody>
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.

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.

Valore di ritorno

Numero di elementi con key chiave
Original:
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.

Complessità

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

Vedi anche

mihai are mere
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) [modifica]