bsl::multimap::count

count overloads

Synopses

Declared in <bslstl_multimap.h>

Return the number of elements equivalent to key.

size_type
count(key_type const& key) const;
» more...

Return the number of elements matching key.

template<class LOOKUP_KEY>
size_type
count(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
                                                   LOOKUP_KEY>::value;
» more...

Return Value

number of elements equivalent to key

Parameters

NameDescription
keykey value to count