About 41,600 results
Open links in new tab
  1. 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.

  2. 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.

  3. 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 …

  4. Standard library header <unordered_set> (C++11) - Reference

    Nov 27, 2023 · Classes unordered_set (C++11) collection of unique keys, hashed by keys (class template) [edit] unordered_multiset (C++11) collection of keys, hashed by keys (class …

  5. 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 …

  6. std::swap (std::unordered_set) - cppreference.com

    Specializes the std::swap algorithm for std::unordered_set. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs).

  7. std::unordered_set<Key,Hash,KeyEqual,Allocator>:: insert_range

    (C++20) unordered_set::equal_range Bucket interface unordered_set::begin(size_type)unordered_set::cbegin(size_type) …

  8. Standard library header <unordered_map> (C++11) - Reference

    Nov 27, 2023 · Classes unordered_map (C++11) collection of key-value pairs, hashed by keys, keys are unique (class template) [edit] unordered_multimap (C++11) collection of key-value …

  9. std::unordered_map<Key,T,Hash,KeyEqual,Allocator>:: merge

    Nov 29, 2021 · unordered_map::merge (C++17) unordered_map::insert unordered_map::insert_range (C++23) unordered_map::insert_or_assign (C++17) …

  10. std::unordered_set<Key,Hash,KeyEqual,Allocator>:: contains

    Nov 5, 2023 · #include <iostream>#include <unordered_set>int(){std::unordered_set<int>{1234};for(int:{25})if(contains())std::cout<<<<": …