News for hackers. Stuff that matters.
Re:Show HN: Nameof Operator for Modern C++ by asveikau on Sunday March 24, 2019 @05:05PM (#19478780)
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.
Re:Show HN: Nameof Operator for Modern C++ by neargye on Monday March 25, 2019 @04:05AM (#19480936)
Re:Show HN: Nameof Operator for Modern C++ by asveikau on Monday March 25, 2019 @10:15AM (#19482527)
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.
Re:Show HN: Nameof Operator for Modern C++ by neargye on Monday March 25, 2019 @01:16PM (#19484404)
yeap, I use __PRETTY_FUNCTION__.