Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | container‎ | unordered map
Revision as of 14:45, 6 June 2011 by P12 (Talk | contribs)

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

Returns the function that hashes the keys.

Contents

Parameters

(none)

Return value

The hash function.

Complexity

Constant.

See also

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