libycxx

deduction guide

std::unordered_map<Key, T, Hash, Pred, Allocator>

Scope
std
cppreference
<unordered_map> nearest page

Synopsis

template<
    class Key,
    class T,
    class Hash = hash<Key>,
    class Pred = equal_to<Key>,
    class Allocator = allocator<pair<const Key, T>>>
  requires unord-hash-arg<Hash> && unord-pred-arg<Pred> &&
           qualifies-as-allocator<Allocator>
unordered_map<Key, T, Hash, Pred, Allocator>(
    initializer_list<pair<Key, T>>,
    /* implementation-defined */::size_type,
    Hash,
    Pred,
    Allocator) -> unordered_map<Key, T, Hash, Pred, Allocator>;