Return the number of elements matching key.
Declared in <bslstl_multimap.h>
template<class LOOKUP_KEY>
size_type
count(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
LOOKUP_KEY>::value;
Return the number of value_type objects within this multimap whose keys are equivalent to the specified key.
Note: implemented inline due to Sun CC compilation error.
number of elements equivalent to key
| Name | Description |
|---|---|
| key | key value to count |