W3cubDocs

/C++

std::unordered_multimap<Key,T,Hash,KeyEqual,Allocator>::key_eq

key_equal key_eq() const;
(since C++11)

Returns the function that compares keys for equality.

Parameters

(none).

Return value

The key comparison function.

Complexity

Constant.

See also

(C++11)
returns function used to hash the keys
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/unordered_multimap/key_eq