std::multimap<Key,T,Compare,Allocator>::count

Returns the number of elements with key that compares equivalent to the specified argument.

# Declarations

size_type count( const Key& key ) const;
template< class K >
size_type count( const K& x ) const;

(since C++14)

# Parameters

# Return value

Number of elements with key that compares equivalent to key or x.

# Notes

Feature-test macro Value Std Feature __cpp_lib_generic_associative_lookup 201304L (C++14) Heterogeneous comparison lookup in associative containers; overload (2)

# Example

This section is incompleteReason: no example

# See also