BloombergLP::bsls::nameOfType

Return the name of the type of the object passed to this function.

Synopsis

Declared in <bsls_nameof.h>

template<class TYPE>
char const*
nameOfType(TYPE const& object);

Return Value

pointer to a null-terminated string naming the type of object

Parameters

NameDescription
objectobject whose type name is returned