Constructors
Synopses
Declared in <bslstp_hashset.h>
Create an empty hash multiset.
Create an empty hash multiset with at least the specified __n buckets.
explicit
hash_multiset(size_type __n);
Create an empty hash multiset using the specified __a allocator.
explicit
hash_multiset(allocator_type const& __a);
Create an empty hash multiset with at least the specified __n buckets using the specified __a allocator.
hash_multiset(
size_type __n,
allocator_type const& __a);
Create a hash multiset with the specified bucket count and hasher.
hash_multiset(
size_type __n,
hasher const& __hf);
Copy‐construct a hash multiset using the specified allocator.
hash_multiset(
_Self const& __x,
allocator_type const& __a);
Create a hash multiset from the range [__f, __l)].
template<class _InputIterator>
hash_multiset(
_InputIterator __f,
_InputIterator __l);
Create a hash multiset with the specified bucket count, hasher, and allocator.
hash_multiset(
size_type __n,
hasher const& __hf,
allocator_type const& __a);
Create a hash multiset with the specified bucket count, hasher, and equality predicate.
hash_multiset(
size_type __n,
hasher const& __hf,
key_equal const& __eql);
Create a hash multiset from the specified iterator range.
template<class _InputIterator>
hash_multiset(
_InputIterator __f,
_InputIterator __l,
size_type __n);
Create a hash multiset from the specified iterator range.
template<class _InputIterator>
hash_multiset(
_InputIterator __f,
_InputIterator __l,
allocator_type const& __a);
Create a hash multiset with the specified bucket count, functors, and allocator.
hash_multiset(
size_type __n,
hasher const& __hf,
key_equal const& __eql,
allocator_type const& __a);
Create a hash multiset from the specified iterator range.
template<class _InputIterator>
hash_multiset(
_InputIterator __f,
_InputIterator __l,
size_type __n,
allocator_type const& __a);
Create a hash multiset from the specified iterator range.
template<class _InputIterator>
hash_multiset(
_InputIterator __f,
_InputIterator __l,
size_type __n,
hasher const& __hf);
Create a hash multiset from the specified iterator range.
template<class _InputIterator>
hash_multiset(
_InputIterator __f,
_InputIterator __l,
size_type __n,
hasher const& __hf,
allocator_type const& __a);
Create a hash multiset from the specified iterator range.
template<class _InputIterator>
hash_multiset(
_InputIterator __f,
_InputIterator __l,
size_type __n,
hasher const& __hf,
key_equal const& __eql,
allocator_type const& __a = allocator_type());
Parameters
Name |
Description |
__n |
minimum number of buckets to create |
__a |
allocator used to supply memory |
__hf |
hash functor |
__x |
hash multiset whose elements are copied |
__f |
beginning of the input range |
__l |
end of the input range |
__eql |
key‐equality predicate |
Created with MrDocs