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
Name |
Description |
initialCapacity |
initial entry capacity of the map |
initialKeysCapacity |
initial key‐storage capacity in bytes |
allocator |
allocator used to supply memory |
Created with MrDocs