count overloads

Synopses

Declared in <bslstl_multimap.h>

Return the number of elements equivalent to key.

size_type
count(key_type const& key) const;

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;

Return Value

number of elements equivalent to key

Parameters

Name

Description

key

key value to count

Created with MrDocs