...that's definitely one of the more cursed things I've ever seen in C++. Apparently the __PRETTY_FUNCTION__ macro is expanded *after* template instantiation.
discuss.systems/@tobinbaker/11

@glaebhoerl yup, highly magical

btw here's a more principled and portable approach to compile-time type info: github.com/Manu343726/ctti

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one