Namespaces
Variants
Views
Actions

std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::hash_function

From cppreference.com
< cpp‎ | container‎ | unordered map
Revision as of 08:14, 4 December 2021 by Ljestrada (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
hasher hash_function() const;
(since C++11)

Returns the function that hashes the keys.

Contents

[edit] Parameters

(none)

[edit] Return value

The hash function.

[edit] Complexity

Constant.

[edit] See also

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