std::unordered_map::key_eq - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::unordered_map::key_eq

From cppreference.com
< cpp‎ | container‎ | unordered map

[edit template]

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

Returns the function that compares keys for equality.

### [edit] Parameters

(none)

### [edit] Return value

The key comparison function.

### [edit] Complexity

Constant.

### [edit] See also

hash_function | returns function used to hash the keys (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/container/unordered_map/key_eq&oldid=50697"