Mark the map being built as sorted according to the specified value.

Synopsis

Declared in <bdld_datummapowningkeysbuilder.h>

void
setSorted(bool value);

Description

Mark the Datum map (owning keys) being built by this object as sorted if the specified value is true and mark it unsorted otherwise. This function does not sort the 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 map being constructed is marked sorted, but the entries are not appended in sorted order. Note also that the map being constructed is marked unsorted by default.

Parameters

Name

Description

value

true to mark the map sorted, false otherwise

Created with MrDocs