I don’t know much about RTTI, but I believe that thanks to that you can retrieve the name of variables at run-time.
Is it possible to retrieve the name of the function the thread is currently running ?
I don’t know much about RTTI, but I believe that thanks to that you
Share
C++11 standardized
__func__for the current function.Various compilers support variations of
__FUNCTION__,__PRETTY_FUNCTION__, and others.