bsl::hash_map::hash_map

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

Synopsis

Declared in <bslstp_hashmap.h>

hash_map(
    size_type __n,
    allocator_type const& __a);

Parameters

NameDescription
__nminimum number of buckets to create
__aallocator used to supply memory