createArrayReference overloads

Synopses

Declared in <bdld_datum.h>

Return a datum referring to the array described by value.

static
Datum
createArrayReference(
    DatumArrayRef const& value,
    AllocatorType const& allocator);

Return a datum referring to the specified array without copying it.

static
Datum
createArrayReference(
    Datum const* array,
    SizeType length,
    AllocatorType const& allocator);

Return Value

  • a datum referring to the array described by value

  • a datum referring to the specified array without copying it

Parameters

Name

Description

value

array reference to wrap

allocator

memory allocator to use

array

array of Datum values to reference

length

number of elements in array

Created with MrDocs