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

Name

Description

object

object whose type name is returned

Created with MrDocs