Return the number of value_type objects within this set that are equivalent to the specified key. Note that since a set maintains unique keys, the returned value will be either 0 or 1.
value_type
key
Declared in <bslstl_set.h>
<bslstl_set.h>
size_type count(key_type const& key) const;
Note: implemented inline due to Sun CC compilation error.