[#BloombergLP-bdlat_TypeName-name]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_TypeName.adoc[bdlat&lowbar;TypeName]::name
:relfileprefix: ../../
:mrdocs:

Return a null&hyphen;terminated string containing the name of the specified `TYPE`&period; If `TYPE` is a fundamental type, string, date, time, or datetime, then return a canonical representation of the type&apos;s name&period; Otherwise, if `className` applied to the specified `object` returns a non&hyphen;null value, then return that value&period; Otherwise, return `typeid(TYPE)&period;name()`&period; Note that the returned name refers to the _static_ `TYPE`, not to the dynamic type of `object`&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;typename&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
char const*
name(TYPE const& object);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
