BloombergLP::bdld::Datum::createArrayReference

Return, by value, a datum having the specified value, using the specified allocator to supply memory (if needed). The array referenced by value is not copied, and is not freed if Datum::destroy is called on the returned object. The behavior is undefined unless value.length() <= UINT_MAX.

Synopsis

Declared in <bdld_datum.h>

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