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

Copy&hyphen;construct a hash table using the specified allocator&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
hashtable(
    xref:bsl/hashtable.adoc[&lowbar;Self] const& &lowbar;&lowbar;ht,
    xref:bsl/hashtable/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;ht*
| hash table whose value is copied
| *&lowbar;&lowbar;a*
| allocator used to supply memory
|===


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