BloombergLP::bdld::DatumUdt::DatumUdt

Create a DatumUdt object having the specified data and type.

Synopsis

Declared in <bdld_datumudt.h>

DatumUdt(
    void* data,
    int type);

Description

Note that the pointer to the data is just copied bitwise. Also note that the memory pointed by data is never accessed by a DatumUdt object.

Parameters

NameDescription
datapointer to the user-defined object (not owned)
typeuser type associated with the pointer