##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::unordered_map::hash_function

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

[edit template]

hasher hash_function() const; |  | (since C++11)

Returns the function that hashes the keys.

### [edit] Parameters

(none)

### [edit] Return value

The hash function.

### [edit] Complexity

Constant.

### [edit] See also

key_eq | returns the function used to compare keys for equality (public member function) [edit]

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