this post was submitted on 17 Jun 2023
13 points (100.0% liked)
C++
1804 readers
2 users here now
The center for all discussion and news regarding C++.
Rules
- Respect instance rules.
- Don't be a jerk.
- Please keep all posts related to C++.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I hope we can get reflection and networking, maybe also pattern matching
Unless I missed it, I didn't see that reflection was included in the features for C++26. Reflection is the #1 thing I want to see in a future version of C++, but it seems like it just keeps getting pushed. What's disappointing to me is that so many of the new features are just convenient wrappers around core language features or the STL, many of which a lot of us have already implemented in our own code. Even networking, as you mentioned, can be implemented in a library (boost::asio, for example). Unless I want to write my own compiler, there's no way to implement reflection. It really should be more of a priority than it is.
Yep, I agree, at least they have it in the plan for C++26 https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0592r5.html
I didn't realize it was still in the plan. The paper you linked is from September, 2022. My understanding was that it was proposed for inclusion in C++26 but that the committee never adopted it. I very much hope I'm wrong, though.