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

Name

Description

initialCapacity

initial capacity of the array

allocator

allocator used to supply memory

Created with MrDocs