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

Name

Description

__n

minimum number of buckets to create

__a

allocator used to supply memory

Created with MrDocs