[#BloombergLP-bslstl-HashTable-09-2constructor-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable-09.adoc[HashTable<UnorderedMapKeyConfiguration<basic_string<char> const, pair<basic_string<char> const, Json>>, TransparentHash, TransparentEqualTo, allocator<pair<basic_string<char> const, Json>>>]::HashTable :relfileprefix: ../../../ :mrdocs: Create an empty hash‐table. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is not supplied, a default‐constructed object of the (template parameter) type `ALLOCATOR` is used. If the type `ALLOCATOR` is `bsl::allocator` and `basicAllocator` is not supplied, the currently installed default allocator is used to supply memory. Use 1.0 for the `maxLoadFactor`. Use a default constructed object of the (template parameter) type `HASHER` and a default constructed object of the (template parameter) type `COMPARATOR` to organize elements in the table. No memory is allocated unless the `HASHER` or `COMPARATOR` types allocate memory in their default constructor. Note that a `bslma::Allocator *` can be supplied for `basicAllocator` if the type `ALLOCATOR` is `bsl::allocator` (the default). == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit HashTable(xref:bsl/allocator-0df.adoc[allocator<pair<basic_string<char> const, Json>>] const& basicAllocator = ALLOCATOR()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#