W3cubDocs

/C++

std::unordered_map::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

returns function used to hash the keys
(public member function)

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