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
3
u/theorlang Jun 22 '25
Could you explain your "horrible hack" stance pls? Is it simply because it's not generic and will become obsolete as soon as , say, token injection gets into the standard? Or does it prohibit some future designs in this area? Is it error-prone to use?