[#BloombergLP-bdld-DatumMapBuilder-pushBack] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMapBuilder.adoc[DatumMapBuilder]::pushBack :relfileprefix: ../../../ :mrdocs: Append an entry with the specified `key` and `value`. == Synopsis Declared in `<bdld_datummapbuilder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void pushBack( xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& key, xref:BloombergLP/bdld/Datum.adoc[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 [cols="1,4"] |=== | Name| Description | *key* | key of the map entry | *value* | value of the map entry |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#