Share via


concurrent_unordered_multiset::count Method

Counts the number of elements matching a specified key. This function is concurrency safe.

size_type count(
   const key_type& _Keyval
) const;

Parameters

  • _Keyval
    The key to search for.

Return Value

The number of times number of times the key appears in the container.

Requirements

Header: internal_concurrent_hash.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_multiset Class