[#BloombergLP-bdld-DatumUdt-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumUdt.adoc[DatumUdt]::DatumUdt :relfileprefix: ../../../ :mrdocs: Create a `DatumUdt` object having the specified `data` and `type`. == Synopsis Declared in `<bdld_datumudt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *data* | pointer to the user‐defined object (not owned) | *type* | user type associated with the pointer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#