[#BloombergLP-bdld-Datum-createUdt] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::createUdt :relfileprefix: ../../../ :mrdocs: Return, by value, a datum having the `DatumUdt` value with the specified `data` and the specified `type` values. The behavior is undefined unless `0 <= type <= 65535`. Note that `data` is held, not owned. Also note that the content pointed to by `data` object is not copied. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdld/Datum.adoc[Datum] createUdt( void* data, int type); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#