BloombergLP::bdld::Datum::createArrayReference

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);
» more...

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

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

Return Value

  • a datum referring to the array described by value
  • a datum referring to the specified array without copying it

Parameters

NameDescription
valuearray reference to wrap
allocatormemory allocator to use
arrayarray of Datum values to reference
lengthnumber of elements in array