[#bsl-hash_map-2constructor-0c] = xref:bsl.adoc[bsl]::xref:bsl/hash_map.adoc[hash_map]::hash_map :relfileprefix: ../../ :mrdocs: Create a hash map with the specified hasher, equality predicate, and allocator. == Synopsis Declared in `<bslstp_hashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- hash_map( xref:bsl/hash_map/size_type.adoc[size_type] __n, xref:bsl/hash_map/hasher.adoc[hasher] const& __hf, xref:bsl/hash_map/key_equal.adoc[key_equal] const& __eql, xref:bsl/hash_map/allocator_type.adoc[allocator_type] const& __a = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#