Deduce the template parameters KEY and VALUE from the value_type of the initializer_list supplied to the constructor of unordered_map. This deduction guide does not participate unless the supplied allocator meets the requirements of a standard allocator.
Synopsis
Declared in <bslstl_unorderedmap.h>
template<
class KEY,
class VALUE,
class ALLOCATOR>
requires bsl::IsStdAllocator_v<ALLOCATOR>
unordered_map<KEY, VALUE, bsl::hash<KEY>, bsl::equal_to<KEY>, ALLOCATOR>(
std::initializer_list<bsl::pair<KEY const, VALUE>>,
bsl::allocator_traits<ALLOCATOR>::size_type,
ALLOCATOR) → unordered_map<KEY, VALUE, bsl::hash<KEY>, bsl::equal_to<KEY>, ALLOCATOR>;
Created with MrDocs