[#BloombergLP-bsls-NameOf_Base] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::NameOf_Base :relfileprefix: ../../ :mrdocs: This `class` provide non‐template implementation code for the `NameOf` template class. == Synopsis Declared in `<bsls_nameof.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class NameOf_Base; ---- == Protected Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/NameOf_Base/_04enum.adoc[`Unnamed enum`] | Compile‐time constants for trimming compiler‐specific type‐name prefixes. |=== == Protected Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/NameOf_Base/initBuffer.adoc[`initBuffer`] | Initialize the specified `buffer` with the type name contained in the specified `functionName`, where `functionName` is the function name of the `NameOf` constructor. Return either a pointer to `buffer`, or if `buffer` couldn't be properly initialized, `functionName`. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/NameOf.adoc[`NameOf`] | This `class` provides a means to display the type name of its template parameter `TYPE`. An instance of this `class` can be implicitly (or explicitly via the `name` accessor) cast to a `const char *` which will point to a buffer containing the description of the type. Note that all instances of a given type will refer to the same character buffer containing the name. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#