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

Document QSpan

    XMLWordPrintable

Details

    • 5
    • Foundation Sprint 86, Foundation Sprint 87, Foundation Sprint 88, Foundation Sprint 89, Foundation Sprint 90, Foundation Sprint 91, Foundation Sprint 92, Foundation Sprint 93, Foundations Sprint 94, Foundations Sprint 95, Foundations Sprint 96, Foundations Sprint 97

    Description

      Acceptance criteria:

      • QSpan documented as if it was already public API, but \internal.
      • documentation lists known differences to std::span:
        • available unconditionally, also in C++17
        • no restriction on creation from rvalue
        • all ctors implicit
        • subspan(., std::dynamic_extent) doesn't work, use unary subspan() instead
        • slight differences in definition of a contiguous range due to lack of C++20 concepts and std::ranges CPOs (but see QTBUG-112461)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes