std::unordered_set::
hash_function
From cppreference.com
<
cpp
|
container
|
unordered set
C++
Language
Standard library headers
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Technical Specifications
Containers library
array
(C++11)
vector
deque
forward_list
(C++11)
list
set
multiset
map
multimap
unordered_set
(C++11)
unordered_multiset
(C++11)
unordered_map
(C++11)
unordered_multimap
(C++11)
stack
queue
priority_queue
std::unordered_set
Member functions
unordered_set::unordered_set
unordered_set::~unordered_set
unordered_set::operator=
unordered_set::get_allocator
Iterators
unordered_set::begin
unordered_set::cbegin
unordered_set::end
unordered_set::cend
Capacity
unordered_set::erase
unordered_set::size
unordered_set::max_size
Modifiers
unordered_set::clear
unordered_set::insert
unordered_set::emplace
unordered_set::emplace_hint
unordered_set::erase
unordered_set::swap
Lookup
unordered_set::count
unordered_set::find
unordered_set::equal_range
Bucket interface
unordered_set::begin(int)
unordered_set::begin(int)
unordered_set::bucket_count
unordered_set::max_bucket_count
unordered_set::bucket_size
unordered_set::bucket
Hash policy
unordered_set::load_factor
unordered_set::max_load_factor
unordered_set::rehash
unordered_set::reserve
Observers
unordered_set::hash_function
unordered_set::key_eq
hasher hash_function
(
)
const
;
(since C++11)
Returns the function that hashes the keys.
Contents
1
Parameters
2
Return value
3
Complexity
4
See also
[
edit
]
Parameters
(none)
[
edit
]
Return value
The hash function.
[
edit
]
Complexity
Constant.
[
edit
]
See also
key_eq
returns the function used to compare keys for equality
(public member function)