About 50 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>:: 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 …

  4. std::unordered_set<Key,Hash,KeyEqual,Allocator>:: unordered_set

    Nov 21, 2021 · Constructs new container from a variety of data sources. Optionally uses user supplied bucket_count as a minimal number of buckets to create, hash as the hash function, equal as the …

  5. std::unordered_map<Key,T,Hash,KeyEqual,Allocator>:: find

    Dec 4, 2021 · This overload participates in overload resolution only if Hash and KeyEqual are both transparent. This assumes that such Hash is callable with both K and Key type, and that the …

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

    Nov 27, 2023 · Contents 1Includes 2Classes 3Functions 3.1Range access 4Synopsis 4.1Class template std::unordered_set 4.2Class template std::unordered_multiset <compare> (C++20) Three-way …

  7. std::unordered_map<Key,T,Hash,KeyEqual,Allocator>:: insert

    Nov 29, 2021 · The value_type must be EmplaceConstructible into unordered_map from std::forward<K>(k), std::forward<M>(obj). This overload participates in overload resolution only if …

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

    Nov 5, 2023 · 1) Checks if there is an element with key equivalent to key in the container.

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

    Dec 4, 2021 · 2) Returns the number of elements with key that compares equivalent to the specified argument x. This overload participates in overload resolution only if Hash and KeyEqual are both …

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