BloombergLP::bdld::DatumMapBuilder::append

Append the specified map entries to this builder.

Synopsis

Declared in <bdld_datummapbuilder.h>

void
append(
    DatumMapEntry const* entries,
    SizeType size);

Description

Append the specified array entries having the specified size to the Datum map being build by this object. The behavior is undefined unless 0 != entries && 0 != size and each element in entries that needs dynamic memory, is allocated with the same allocator that was used to construct this object. The behavior is undefined if commit or sortAndCommit has already been called on this object.

Parameters

NameDescription
entriesarray of map entries to append
sizenumber of entries in the array