bsl::unordered_multimap::count

Return the number of elements with a key equivalent to key.

Synopsis

Declared in <bslstl_unorderedmultimap.h>

unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::size_type
count(key_type const& key) const;

Description

Return the number of value_type objects in this unordered multimap with a key equivalent to the specified key.

Return Value

number of elements with an equivalent key

Parameters

NameDescription
keykey value to count