[#BloombergLP-bsls-NameOf-name] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/NameOf.adoc[NameOf]::name :relfileprefix: ../../../ :mrdocs: Return a pointer to the a string containing the name of `TYPE`, this serves as a convenient way to explicitly cast the return value to a `const char *`. == Synopsis Declared in `<bsls_nameof.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char const* name() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#