Return the number of elements equivalent to key.

Synopsis

Declared in <bslstl_multiset.h>

size_type
count(key_type const& key) const;

Description

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.

Return Value

number of elements equivalent to key

Parameters

Name

Description

key

key value to count

Created with MrDocs