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

QVarLengthArray: add missing STL-style assign()

    XMLWordPrintable

Details

    • Suggestion
    • Status: In Progress
    • P3: Somewhat important
    • Resolution: Unresolved
    • None
    • None
    • None
    • 5
    • Foundation Sprint 72, Foundation Sprint 73, Foundation Sprint 74

    Description

      See epic for more details.

      Acceptance criteria:

      • QVLA has an assign() overload set following std::vector's (https://en.cppreference.com/w/cpp/container/vector/assign), except for the C++20 constexpr
      • For a QVLA that has sufficient capacity() to hold the result of the operation, these functions do not allocate additional memory.
      • All functions are strongly exception safe if value_type copy construction doesn't throw.

      Attachments

        Issue Links

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

          Activity

            People

              dennisoberst Dennis Oberst
              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:

                Gerrit Reviews

                  There is 1 open Gerrit change