Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
asveikau
· 7y ago · 0 comments
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.
Comments
[–]
neargye
7y ago
https://stackoverflow.com/a/31163837/9514814
[–]
asveikau
OP
7y 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.
[–]
neargye
7y ago
yeap, I use __PRETTY_FUNCTION__.