[#bsl-hash_multiset-2constructor-07b] = xref:bsl.adoc[bsl]::xref:bsl/hash_multiset.adoc[hash_multiset]::hash_multiset :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<bslstp_hashset.h>` Create an empty hash multiset. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/2constructor-0bb.adoc[hash_multiset](); ---- [.small]#xref:bsl/hash_multiset/2constructor-0bb.adoc[_» more..._]# Create an empty hash multiset with at least the specified `__n` buckets. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:bsl/hash_multiset/2constructor-0d6.adoc[hash_multiset](xref:bsl/hash_multiset/size_type.adoc[size_type] __n); ---- [.small]#xref:bsl/hash_multiset/2constructor-0d6.adoc[_» more..._]# Create an empty hash multiset using the specified `__a` allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:bsl/hash_multiset/2constructor-01.adoc[hash_multiset](xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-01.adoc[_» more..._]# Create an empty hash multiset with at least the specified `__n` buckets using the specified `__a` allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/2constructor-0e9.adoc[hash_multiset]( xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-0e9.adoc[_» more..._]# Create a hash multiset with the specified bucket count and hasher. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/2constructor-00.adoc[hash_multiset]( xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/hasher.adoc[hasher] const& __hf); ---- [.small]#xref:bsl/hash_multiset/2constructor-00.adoc[_» more..._]# Copy‐construct a hash multiset using the specified allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/2constructor-0e7.adoc[hash_multiset]( xref:bsl/hash_multiset.adoc[_Self] const& __x, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-0e7.adoc[_» more..._]# Create a hash multiset from the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> xref:bsl/hash_multiset/2constructor-04.adoc[hash_multiset]( _InputIterator __f, _InputIterator __l); ---- [.small]#xref:bsl/hash_multiset/2constructor-04.adoc[_» more..._]# Create a hash multiset with the specified bucket count, hasher, and allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/2constructor-05.adoc[hash_multiset]( xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/hasher.adoc[hasher] const& __hf, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-05.adoc[_» more..._]# Create a hash multiset with the specified bucket count, hasher, and equality predicate. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/2constructor-072.adoc[hash_multiset]( xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/hasher.adoc[hasher] const& __hf, xref:bsl/hash_multiset/key_equal.adoc[key_equal] const& __eql); ---- [.small]#xref:bsl/hash_multiset/2constructor-072.adoc[_» more..._]# Create a hash multiset from the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> xref:bsl/hash_multiset/2constructor-028.adoc[hash_multiset]( _InputIterator __f, _InputIterator __l, xref:bsl/hash_multiset/size_type.adoc[size_type] __n); ---- [.small]#xref:bsl/hash_multiset/2constructor-028.adoc[_» more..._]# Create a hash multiset from the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> xref:bsl/hash_multiset/2constructor-06.adoc[hash_multiset]( _InputIterator __f, _InputIterator __l, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-06.adoc[_» more..._]# Create a hash multiset with the specified bucket count, functors, and allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/2constructor-02b.adoc[hash_multiset]( xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/hasher.adoc[hasher] const& __hf, xref:bsl/hash_multiset/key_equal.adoc[key_equal] const& __eql, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-02b.adoc[_» more..._]# Create a hash multiset from the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> xref:bsl/hash_multiset/2constructor-0d2.adoc[hash_multiset]( _InputIterator __f, _InputIterator __l, xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-0d2.adoc[_» more..._]# Create a hash multiset from the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> xref:bsl/hash_multiset/2constructor-0b7.adoc[hash_multiset]( _InputIterator __f, _InputIterator __l, xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/hasher.adoc[hasher] const& __hf); ---- [.small]#xref:bsl/hash_multiset/2constructor-0b7.adoc[_» more..._]# Create a hash multiset from the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> xref:bsl/hash_multiset/2constructor-0c.adoc[hash_multiset]( _InputIterator __f, _InputIterator __l, xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/hasher.adoc[hasher] const& __hf, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a); ---- [.small]#xref:bsl/hash_multiset/2constructor-0c.adoc[_» more..._]# Create a hash multiset from the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> xref:bsl/hash_multiset/2constructor-08.adoc[hash_multiset]( _InputIterator __f, _InputIterator __l, xref:bsl/hash_multiset/size_type.adoc[size_type] __n, xref:bsl/hash_multiset/hasher.adoc[hasher] const& __hf, xref:bsl/hash_multiset/key_equal.adoc[key_equal] const& __eql, xref:bsl/hash_multiset/allocator_type.adoc[allocator_type] const& __a = allocator_type()); ---- [.small]#xref:bsl/hash_multiset/2constructor-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#