Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130085

Create an overview of C++20 features available in Qt

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0
    • Core: Other, Documentation
    • None
    • 21
    • 856aaa4c0 (dev), f9de20d9c (dev), ebb265824 (dev), 459f1978a (6.8), 0a258409e (6.8), 083ebfa1a (dev), 8bd0625f5 (6.9), b4233422e (6.8)
    • Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120, Foundation Sprint 121, Foundation Sprint 122

    Description

      I think it would be good to have an overview of C++20 features that are available in Qt.

      For now we do have C++20 operator<=>() support for various classes, and we even have our own C++17 implementation of ordering types, but they are not easily discoverable.

      Now we started implementing std::format support, and we are facing the same issue - there is no common place to document this feature. For example, we already have a global macro to enable/disable this feature, but I have no idea where to add the docs for it.

      Maybe we could start from adding a new section to https://doc-snapshots.qt.io/qt6-6.8/topics-core.html, and then create a separe overview page out of it.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-130085
          # Subject Branch Project Status CR V

          Activity

            People

              javyas Jaishree Vyas
              ivan.solovev Ivan Solovev
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: