Create a read-only view of the specified datum map.
Declared in <bdld_datum.h>
DatumMapRef(
DatumMapEntry const* data,
SizeType size,
bool sorted,
bool ownsKeys);
Create a DatumMapRef object having the specified data of the specified size and the specified sorted and ownsKeys flags. The behavior is undefined unless 0 != data or 0 == size. Note that the pointer to the array is just copied.
| Name | Description |
|---|---|
| data | pointer to the first map entry |
| size | number of entries in the map |
| sorted | whether the entries are sorted by key |
| ownsKeys | whether the map owns its key storage |