Append an entry with the specified key and value.

Synopsis

Declared in <bdld_datummapbuilder.h>

void
pushBack(
    bslstl::StringRef const& key,
    Datum const& value);

Description

Append the entry with the specified key and the specified value to the Datum map being build by this object. The behavior is undefined if value needs dynamic memory and was allocated using a different allocator than the one used to construct this object. The behavior is also undefined if commit or sortAndCommit has already been called on this object.

Parameters

Name

Description

key

key of the map entry

value

value of the map entry

Created with MrDocs