first few C++26 core language features have been voted into the C++ Working Draft at the Varna meeting:

  • P2738R1 constexpr cast from void*: towards constexpr type-erasure
  • P2741R3 User-generated static_assert messages
  • P2169R4 A nice placeholder with no name
    • corroded@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      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.