BloombergLP::bdld::DatumArrayBuilder::DatumArrayBuilder

Create a builder with the specified initialCapacity, optionally using the specified allocator.

Synopsis

Declared in <bdld_datumarraybuilder.h>

explicit
DatumArrayBuilder(
    SizeType initialCapacity,
    allocator_type const& allocator = allocator_type());

Description

Create a DatumArrayBuilder that will administer the process of building a Datum array. If allocator is not supplied, the default allocator is used.

Parameters

NameDescription
initialCapacityinitial capacity of the array
allocatorallocator used to supply memory