[#bsl-hashtable-2constructor-0e]
= xref:bsl.adoc[bsl]::xref:bsl/hashtable.adoc[hashtable]::hashtable
:relfileprefix: ../../
:mrdocs:

Create a hash table with the specified functors and allocator&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
hashtable(
    xref:bsl/hashtable/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    &lowbar;HF const& &lowbar;&lowbar;hf,
    &lowbar;EqK const& &lowbar;&lowbar;eql,
    &lowbar;ExK const& &lowbar;&lowbar;ext,
    xref:bsl/hashtable/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a = allocator&lowbar;type());
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
