[#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&period; The behavior is undefined unless `0 &lt;&equals; type &lt;&equals; 65535`&period; Note that `data` is held, not owned&period; Also note that the content pointed to by `data` object is not copied&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

[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]#
