deduction guide
std::unordered_set<T, Hash, Pred, Allocator>
- Header
<unordered_set>- Draft
- [unord.set.syn]
- Scope
std- cppreference
- <unordered_set> nearest page
Synopsis
template<
class T,
class Hash = hash<T>,
class Pred = equal_to<T>,
class Allocator = allocator<T>>
requires unord-hash-arg<Hash> && unord-pred-arg<Pred> &&
qualifies-as-allocator<Allocator>
unordered_set<T, Hash, Pred, Allocator>(
initializer_list<T>,
/* implementation-defined */::size_type,
Hash,
Pred,
Allocator) -> unordered_set<T, Hash, Pred, Allocator>;