Return the number of elements with a key equivalent to key.
Declared in <bslstl_unorderedmultimap.h>
Return the number of elements with a key equivalent to key.
unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::size_type
count(key_type const& key) const;
» more...
Return the number of elements with a key equivalent to key.
template<class LOOKUP_KEY>
size_type
count(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
&& BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...
number of elements with an equivalent key
| Name | Description |
|---|---|
| key | key value to count |