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