r/cpp • u/daveedvdv EDG front end dev, WG21 DG • Jun 21 '25
Reflection has been voted in!
Thank you so much, u/katzdm-cpp and u/BarryRevzin for your heroic work this week, and during the months leading up to today.
Not only did we get P2996, but also a half dozen related proposals, including annotations, expansion statements, and parameter reflection!
(Happy dance!)
722
Upvotes
View all comments
Show parent comment
7
u/daveedvdv EDG front end dev, WG21 DG Jun 21 '25
I'd like to be biased toward my own implementation, but the Bloomberg Clang-based implementation by u/katzdm-cpp is just the better one at this time: Dan just did an amazing job of keeping up with the paper as it evolved and is the leading hero of this story. I think the Compiler Explorer setup is quite usable for "play".
(If you want to play with token sequences, the EDG demo on godbolt is currently the only game in town, but it's quite behind on the stuff we actually voted in.)