bsl::hash_map::hash_map

Constructors

Synopses

Declared in <bslstp_hashmap.h>

Create an empty hash map.

hash_map();
» more...

Create an empty hash map with at least the specified __n buckets.

explicit
hash_map(size_type __n);
» more...

Create an empty hash map using the specified __a allocator.

explicit
hash_map(allocator_type const& __a);
» more...

Create a hash map with the specified bucket count and allocator.

hash_map(
    size_type __n,
    allocator_type const& __a);
» more...

Create a hash map with the specified bucket count and hasher.

hash_map(
    size_type __n,
    hasher const& __hf);
» more...

Copy-construct a hash map using the specified allocator.

hash_map(
    _Self const& __x,
    allocator_type const& __a);
» more...

Create a hash map from the specified iterator range.

template<class _InputIterator>
hash_map(
    _InputIterator __f,
    _InputIterator __l);
» more...

Create a hash map with the specified bucket count, hasher, and allocator.

hash_map(
    size_type __n,
    hasher const& __hf,
    allocator_type const& __a);
» more...

Create a hash map from the specified iterator range.

template<class _InputIterator>
hash_map(
    _InputIterator __f,
    _InputIterator __l,
    size_type __n);
» more...

Create a hash map from the specified iterator range.

template<class _InputIterator>
hash_map(
    _InputIterator __f,
    _InputIterator __l,
    allocator_type const& __a);
» more...

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());
» more...

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);
» more...

Create a hash map from the specified iterator range.

template<class _InputIterator>
hash_map(
    _InputIterator __f,
    _InputIterator __l,
    size_type __n,
    hasher const& __hf);
» more...

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);
» more...

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());
» more...