Namespaces
Variants
Views
Actions

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

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)
 
 
 
 
key_equal key_eq() const;
(since C++11)

Returns the function that compares keys for equality.

Contents

[edit] Parameters

(none)

[edit] Return value

The key comparison function.

[edit] Complexity

Constant.

[edit] See also

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