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!
Use
__FUNCTION__
//or
__PRETTY_FUNCTION__
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With