std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::key_eq (3) - Linux Manuals

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

NAME

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

Synopsis


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


Returns the function that compares keys for equality.

Parameters


(none)

Return value


The key comparison function.

Complexity


Constant.

See also


              returns function used to hash the keys
hash_function (public member function)