News for hackers. Stuff that matters.
Re:Reflection for C++26 by _flux on Tuesday July 02, 2024 @03:11AM (#40854242)
That's pretty neat! What's the C++20 feature that enables this?
Re:Reflection for C++26 by gpderetta on Tuesday July 02, 2024 @07:40AM (#40855636)
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.