Return the number of elements equivalent to key.
Synopsis
Declared in <bslstl_unorderedmultiset.h>
unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>::size_type
count(key_type const& key) const;
Description
Return the number of value_type objects within this unordered multiset that are equivalent to the specified key.
Return Value
number of elements equivalent to key
Parameters
Name |
Description |
key |
key value to count |
Created with MrDocs