[#BloombergLP-bdlat_TypeName-name] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_TypeName.adoc[bdlat_TypeName]::name :relfileprefix: ../../ :mrdocs: Return a null‐terminated string containing the name of the specified `TYPE`. If `TYPE` is a fundamental type, string, date, time, or datetime, then return a canonical representation of the type's name. Otherwise, if `className` applied to the specified `object` returns a non‐null value, then return that value. Otherwise, return `typeid(TYPE).name()`. Note that the returned name refers to the _static_ `TYPE`, not to the dynamic type of `object`. == Synopsis Declared in `<bdlat_typename.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static char const* name(TYPE const& object); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#