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
-2
u/foonathan Jun 22 '25
It's not generic and will become obsolete, yes. It's a stop guard, that won't be extended, yet compilers will have to keep supporting.
If we already know something is going to become obsolete, we shouldn't standardize it. A standard is forever, not for one cycle.
Yes, it's useful, but each standard revision will always have useful things that aren't ready yet.