[#bsl-hashtable-2constructor-0a] = xref:bsl.adoc[bsl]::xref:bsl/hashtable.adoc[hashtable]::hashtable :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<bslstp_hashtable.h>` Copy‐construct a hash table from the specified source table. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hashtable/2constructor-05.adoc[hashtable](xref:bsl/hashtable.adoc[_Self] const& __ht); ---- [.small]#xref:bsl/hashtable/2constructor-05.adoc[_» more..._]# Copy‐construct a hash table using the specified allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hashtable/2constructor-0c.adoc[hashtable]( xref:bsl/hashtable.adoc[_Self] const& __ht, xref:bsl/hashtable/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hashtable/2constructor-0c.adoc[_» more..._]# Create a hash table with the specified hasher, equality predicate, and allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hashtable/2constructor-0b.adoc[hashtable]( xref:bsl/hashtable/size_type.adoc[size_type] __n, _HF const& __hf, _EqK const& __eql, xref:bsl/hashtable/allocator_type.adoc[allocator_type] const& __a = allocator_type()); ---- [.small]#xref:bsl/hashtable/2constructor-0b.adoc[_» more..._]# Create a hash table with the specified functors and allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hashtable/2constructor-0e.adoc[hashtable]( xref:bsl/hashtable/size_type.adoc[size_type] __n, _HF const& __hf, _EqK const& __eql, _ExK const& __ext, xref:bsl/hashtable/allocator_type.adoc[allocator_type] const& __a = allocator_type()); ---- [.small]#xref:bsl/hashtable/2constructor-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#