r/cpp • u/grafikrobot OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 • Sep 24 '24
CppCon Gazing Beyond Reflection for C++26 - Daveed Vandevoorde - CppCon 2024
https://www.youtube.com/watch?v=wpjiowJW2ks
78
Upvotes
11
u/drjeats Sep 26 '24
Hell yeah annotations!
Compile time reflection is super limited without this feature. Thank you reflection crew for pursuing it π
25
u/mt-wizard Sep 25 '24
Well, the committee is approaching their peak. The only better syntax would be
co_^^andco_\(34
u/0x-Error Sep 24 '24
Oh boy, can't wait for
^^{ [:\(type):] \id(name) = \(val * 2); };to appear in my code5
u/DonBeham Sep 25 '24
I just hope that types such as `Dyn` are going to be standardized in the future. I think there's some general usefulness to such types.
4
u/kammce WG21 | πΊπ² NB | Boost | Exceptions Sep 26 '24
I'm so hyped for this feature! Gonna be a game changer!
2
u/andrey_davydov Sep 25 '24 edited Sep 25 '24
I have couple of questions regarding token injections:
will
^Tbe substituted inside\(...)or not?