Hello,
Is there any way to get current function name in C++? I want to track some functions calls order. Is there something like __FILE__
or __LINE__
?
Thank you!
Hello,
Is there any way to get current function name in C++? I want to track some functions calls order. Is there something like __FILE__
or __LINE__
?
Thank you!
Or if you want to be compatible with the soon-to-be (sic) C++0x standard, use __func__
, if your compiler supports it (GCC does), which will be portable.