• lysdexic@programming.devOPM
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      Still no contracts?

      In line with the release process for C++ standard specifications, where standards ship every 3 years but alternate between accepting new features and feature freeze releases, C++23 was the last release that was open to new features. This would mean C++26 is a feature freeze release following the new features introduced in C++23.

      • Moah@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Contacts have been talked about since C++11 so it’s kinda sad that in 15 years they haven’t managed to get them done.

        • lysdexic@programming.devOPM
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          That’s perfectly fine. It’s a standardization process. Its goal is to set in stone a specification that everyone agrees to. Everything needs to line up.

          In the meantime, some compiler vendors provide their own contracts support. If you feel this is a mandatory feature, nothing prevents you from using vendor-specific implementations. For example, GCC has support for contracts since at least 2022, and it’s mostly in line with the stuff discussed in the standardization meetings.

  • cmeerw@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    No mention of Reflection which was passed to the Core Working Group for wording review, or senders/receivers (on the library side) which was actually voted into the working paper.