inheritance - Is there a way to get a base class name in C++ at runtime? -


you can current class name, assuming rtti enabled, using typeid(this).name() @ runtime.

i able name of base class "this". possible? i'm not using multiple inheritance, in case makes difference.

plus, don't think can count on typeid(this).name() give class name (afaik exact value returned implementation-defined).


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -