BloombergLP::bdld::DatumIntMapRef::DatumIntMapRef

Create an integer-map reference.

Synopsis

Declared in <bdld_datum.h>

DatumIntMapRef(
    DatumIntMapEntry const* data,
    SizeType size,
    bool sorted);

Description

Create a DatumIntMapRef object having the specified data of the specified size and the specified sorted flag. The behavior is undefined unless 0 != data or 0 == size. Note that the pointer to the array is just copied.

Parameters

NameDescription
datapointer to the integer-map entries
sizenumber of entries in the map
sortedflag indicating whether data is sorted