BloombergLP::bdld::DatumMapOwningKeysBuilder::DatumMapOwningKeysBuilder

Create a builder with the specified capacities and allocator.

Synopsis

Declared in <bdld_datummapowningkeysbuilder.h>

DatumMapOwningKeysBuilder(
    SizeType initialCapacity,
    SizeType initialKeysCapacity,
    allocator_type const& allocator);

Description

Create a DatumMapOwningKeysBuilder object managing the ownership of Datum map (owning keys) having the specified initialCapacity and initialKeysCapacity (in bytes) using the specified allocator (e.g., the address of a bslma::Allocator object) to supply memory.

Parameters

NameDescription
initialCapacityinitial entry capacity of the map
initialKeysCapacityinitial key-storage capacity in bytes
allocatorallocator used to supply memory