Y
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
neargye
2649 days ago
https://stackoverflow.com/a/31163837/9514814
link
asveikau
2649 days ago
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.
link
neargye
2649 days ago
yeap, I use __PRETTY_FUNCTION__.
link