Luna::UnorderedMultiMap::count

usize count(const key_type &key) const

Gets the number of elements whose key is equal to the specified key.

Parameters

  • in key

    The key of the element to count.

Return value

Returns the number of elements whose key is equal to the specified key.