BloombergLP::bdld::DatumIntMapBuilder::setSorted

Mark the Datum int-map being built by this object as sorted if the specified value is true and mark it unsorted otherwise. This function does not sort the int-map entries, or mark them to be sorted later; the function should be used to indicate if the entries are being appended in sorted order. The behavior is undefined if commit or sortAndCommit has already been called on this object. The behavior is also undefined if the int-map being constructed is marked sorted, but the entries are not appended in sorted order. Note also that the int-map being constructed is marked unsorted by default.

Synopsis

Declared in <bdld_datumintmapbuilder.h>

void
setSorted(bool value);