Return the number of elements equivalent to key.
Declared in <bslstl_multiset.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 multiset that are equivalent to the specified key.
Note: implemented inline due to Sun CC compilation error.
number of elements equivalent to key
| Name | Description |
|---|---|
| key | transparent key value to count |