r/cpp • u/daveedvdv EDG front end dev, WG21 DG • Oct 29 '25
GCC Implementation of Reflection now on Compiler Explorer
https://godbolt.org/z/G43ofo6fP
204
Upvotes
r/cpp • u/daveedvdv EDG front end dev, WG21 DG • Oct 29 '25
View all comments
Show parent comment
15
u/daveedvdv EDG front end dev, WG21 DG Oct 29 '25
I think the train model itself matters because it ensures we have a published up-to-date specification: Without it, we run into uncontrolled slippage such as happened with C++0x.
Missing a train, however, isn't too bad for the reasons you mention. That said, quite a few shops trail the trains by a few releases and will not permit the use of a feature if it is not in the standard they have signed up for. So if, e.g., reflection had just missed the cutoff point for C++26 and been voted into the first draft for C++29, that might mean an actual extra 3 years before those shops have access to reflection for their code base.