Constructors
Synopses
Declared in <bslstp_hashset.h>
Create an empty hash set.
Create an empty hash set with at least the specified __n buckets.
explicit
hash_set(size_type __n);
Create an empty hash set using the specified __a allocator.
explicit
hash_set(allocator_type const& __a);
Create a hash set with the specified bucket count and allocator.
hash_set(
size_type __n,
allocator_type const& __a);
Create a hash set with the specified bucket count and hasher.
hash_set(
size_type __n,
hasher const& __hf);
Copy‐construct a hash set using the specified allocator.
hash_set(
_Self const& __x,
allocator_type const& __a);
Create a hash set from the specified iterator range.
template<class _InputIterator>
hash_set(
_InputIterator __f,
_InputIterator __l);
Create a hash set with the specified bucket count, hasher, and allocator.
hash_set(
size_type __n,
hasher const& __hf,
allocator_type const& __a);
Create a hash set from the specified iterator range.
template<class _InputIterator>
hash_set(
_InputIterator __f,
_InputIterator __l,
size_type __n);
Create a hash set from the specified iterator range.
template<class _InputIterator>
hash_set(
_InputIterator __f,
_InputIterator __l,
allocator_type const& __a);
Create a hash set with the specified hasher, equality predicate, and allocator.
hash_set(
size_type __n,
hasher const& __hf,
key_equal const& __eql,
allocator_type const& __a = allocator_type());
Create a hash set from the specified iterator range.
template<class _InputIterator>
hash_set(
_InputIterator __f,
_InputIterator __l,
size_type __n,
allocator_type const& __a);
Create a hash set from the specified iterator range.
template<class _InputIterator>
hash_set(
_InputIterator __f,
_InputIterator __l,
size_type __n,
hasher const& __hf);
Create a hash set from the specified iterator range.
template<class _InputIterator>
hash_set(
_InputIterator __f,
_InputIterator __l,
size_type __n,
hasher const& __hf,
allocator_type const& __a);
Create a hash set from the specified iterator range.
template<class _InputIterator>
hash_set(
_InputIterator __f,
_InputIterator __l,
size_type __n,
hasher const& __hf,
key_equal const& __eql,
allocator_type const& __a = allocator_type());
Created with MrDocs