jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
Helper, allowing simple access and provision of a typename string representation at compile time, see jau::type_cue for usage. More...
#include <type_traits_queries.hpp>
Static Public Member Functions | |
static const char * | name () |
Return the string representation of this type. More... | |
Helper, allowing simple access and provision of a typename string representation at compile time, see jau::type_cue for usage.
You may use the macro JAU_TYPENAME_CUE(TYPENAME)
to set a single type or maybe JAU_TYPENAME_CUE_ALL(TYPENAME)
to set the single type and all pointer and reference variations (mutable and const).
Without user override, implementation will use typeid(T).name()
.
T | the typename to name |
Definition at line 103 of file type_traits_queries.hpp.
|
inlinestatic |
Return the string representation of this type.
This might be a compile time user override, see jau::type_name_cue.
If no user override has been provides, the default implementation either returns typeid(T).name()
if RTTI is enabled or "unnamed_type"
if RTTI is disabled.
Definition at line 116 of file type_traits_queries.hpp.