[#bsl-hash_map-2constructor-031] = xref:bsl.adoc[bsl]::xref:bsl/hash_map.adoc[hash_map]::hash_map :relfileprefix: ../../ :mrdocs: Create an empty hash map that uses allocator `__a`. == Synopsis Declared in `<bslstp_hashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit hash_map(xref:bsl/hash_map/allocator_type.adoc[allocator_type] const& __a); ---- == Description Create an empty hash map using the specified `__a` allocator. == Parameters [cols="1,4"] |=== | Name| Description | *__a* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#