std::unordered_map::
key_eq
From cppreference.com
<
cpp
|
container
|
unordered map
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_map
Member functions
unordered_map::unordered_map
unordered_map::~unordered_map
unordered_map::operator=
unordered_map::get_allocator
Iterators
unordered_map::begin
unordered_map::cbegin
unordered_map::end
unordered_map::cend
Capacity
unordered_map::erase
unordered_map::size
unordered_map::max_size
Modifiers
unordered_map::clear
unordered_map::insert
unordered_map::insert_or_assign
(C++17)
unordered_map::emplace
unordered_map::emplace_hint
unordered_map::try_emplace
(C++17)
unordered_map::erase
unordered_map::swap
Lookup
unordered_map::count
unordered_map::find
unordered_map::equal_range
Bucket interface
unordered_map::begin2
unordered_map::end2
unordered_map::bucket_count
unordered_map::max_bucket_count
unordered_map::bucket_size
unordered_map::bucket
Hash policy
unordered_map::load_factor
unordered_map::max_load_factor
unordered_map::rehash
unordered_map::reserve
Observers
unordered_map::hash_function
unordered_map::key_eq
key_equal key_eq
(
)
const
;
(since C++11)
Returns the function that compares keys for equality.
Contents
1
Parameters
2
Return value
3
Complexity
4
See also
[
edit
]
Parameters
(none)
[
edit
]
Return value
The key comparison function.
[
edit
]
Complexity
Constant.
[
edit
]
See also
hash_function
returns function used to hash the keys
(public member function)