W3cubDocs

/C++

std::unordered_multiset<Key,Hash,KeyEqual,Allocator>::hash_function

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

Returns the function that hashes the keys.

Parameters

(none).

Return value

The hash function.

Complexity

Constant.

See also

(C++11)
returns the function used to compare keys for equality
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/unordered_multiset/hash_function