Hacker News new | ask | show | jobs
by asveikau 2650 days ago
Last I knew __FUNCTION__ in GCC doesn't even do name de-mangling. You'd get the raw C symbol name with no C++ types.
1 comments

Gcc 7. I could be wrong but I seem to recall a long time ago, when I was learning this stuff in the 90s, __FUNCTION__ wouldn't even demangle.
yeap, I use __PRETTY_FUNCTION__.