Hacker News new | ask | show | jobs
by _flux 723 days ago
That's pretty neat! What's the C++20 feature that enables this?
1 comments

From a quick look, generalized constexpr evaluation, but in practice it relies on parsing non-portable decorated function names from things like source location. An ugly, slow, but effective hack.