
std:: unordered_map - cppreference.com
Apr 26, 2025 · std::unordered_map is an associative container that contains key-value pairs with unique keys. Search, insertion, and removal of elements have average constant-time complexity.
std:: unordered_set - cppreference.com
Apr 26, 2025 · std::unordered_set is an associative container that contains a set of unique objects of type Key. Search, insertion, and removal have average constant-time complexity.
std::unordered_set<Key,Hash,KeyEqual,Allocator>:: unordered_set
Nov 21, 2021 · unordered_set(std::initializer_list<value_type> init, size_type bucket_count, const Allocator & alloc ) : unordered_set ( init, bucket_count, Hash(), key_equal(), alloc){} (14) (since …
std:: unordered_multimap - cppreference.com
Apr 26, 2025 · std::unordered_multimap is an unordered associative container that supports equivalent keys (an unordered_multimap may contain multiple copies of each key value) and that associates …
std::unordered_set<Key,Hash,KeyEqual,Allocator>:: find
Nov 29, 2021 · Simple comparison demo: Found 2 Heterogeneous lookup for unordered containers (transparent hashing): std::size_t string_hash::operator () (const char*) const true std::size_t …
Standard library header <unordered_set> (C++11) - Reference
Nov 27, 2023 · unordered_multiset (unordered_multiset &&); explicit unordered_multiset (const Allocator &); unordered_multiset (const unordered_multiset &, const type_identity_t <Allocator>&);
std::unordered_set<Key,Hash,KeyEqual,Allocator>:: insert
May 9, 2025 · The value_type must be EmplaceConstructible into unordered_set from std::forward<K>(obj). This overload participates in overload resolution only if Hash and KeyEqual are …
std::unordered_map<Key,T,Hash,KeyEqual,Allocator>:: insert
May 9, 2025 · unordered_map::merge (C++17) unordered_map::insert unordered_map::insert_range (C++23) unordered_map::insert_or_assign (C++17) unordered_map::emplace …
std::unordered_map<Key,T,Hash,KeyEqual,Allocator>:: contains
Nov 5, 2023 · (C++20) unordered_map::equal_range Bucket interface unordered_map::begin(size_type)unordered_map::cbegin(size_type) …
std::unordered_map<Key,T,Hash,KeyEqual,Allocator>:: count
Dec 4, 2021 · (C++20) unordered_map::equal_range Bucket interface unordered_map::begin(size_type)unordered_map::cbegin(size_type) …