Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/container/unordered map/hash function"

From cppreference.com
 
m (langlinks)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{cpp/container/hash_function|unordered_map}}
+
{{include page|cpp/container/hash_function|unordered_map}}
 +
 
 +
{{langlinks|de|es|fr|it|ja|pt|ru|zh}}

Latest revision as of 08:14, 4 December 2021

 
 
 
 
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]