Create a read‐only view of the specified datum array.

Synopsis

Declared in <bdld_datum.h>

DatumArrayRef(
    Datum const* data,
    SizeType length);

Description

Create a DatumArrayRef object having the specified data and length. The behavior is undefined unless 0 != data or `0 == length`. Note that the pointer to the array is just copied.

Parameters

Name

Description

data

pointer to the first array element

length

number of elements in the array

Created with MrDocs