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.
Synopsis
Declared in <bsls_nameof.h>
template<class TYPE>
class NameOf
: public NameOf_Base
Base Classes
Name |
Description |
This |
Member Functions
Name |
Description |
|
Initialize the base class of this object to the name of |
Return a pointer to the a string containing the name of |
|
Return a pointer to the a string containing the name of |
Protected Enums
Name |
Description |
Compile‐time constants for trimming compiler‐specific type‐name prefixes. |
Protected Static Member Functions
Name |
Description |
Initialize the specified |
Created with MrDocs