by::tnameGetter< T > Struct Template Reference

Template name getter for type introspection. More...

#include <rtti.hpp>

Static Public Member Functions

static const nchar * getRawName ()
 
static std::string getName ()
 

Detailed Description

template<typename T>
struct by::tnameGetter< T >

Template name getter for type introspection.

TClass is a class template using monostate pattern. so it duplicates all static variables on each modules and it causes that can't check hierarchy properly. sure, I can exports them,template classes, as external symbol for 3rd party modules to link and make it act well. but this requires user to declare another macro or statements such as burden to get them be annoy. instead of that, I put those inside of static symbols at normal nested private class. now, TClass of course will be duplicated on each modules and code bloated but it will act like proxy pointing this nested class.

in conclusion, users can ignore this background reasons and use CLASS macro without additional consideration.


The documentation for this struct was generated from the following file: