Return a key‐sorted Datum map (owning keys) of the appended elements.

Synopsis

Declared in <bdld_datummapowningkeysbuilder.h>

Datum
sortAndCommit();

Description

Return a Datum map (owning keys) value holding the elements supplied to pushBack or append sorted by their keys. The caller is responsible for releasing the resources of the returned Datum object. Calling this method indicates that the caller is finished building the Datum map (owning keys) and no further values shall be appended. The behavior is undefined if any method of this object, other than its destructor, is called after sortAndCommit invocation.

Return Value

key‐sorted Datum map (owning keys) holding the elements supplied to this builder

Created with MrDocs