Create an empty map with at least the specified capacity.

Synopsis

Declared in <bdlc_flathashmap.h>

FlatHashMap(
    std::size_t capacity,
    bslma::Allocator* basicAllocator);

Parameters

Name

Description

capacity

minimum initial capacity of the underlying array

basicAllocator

allocator used to supply memory

Created with MrDocs