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

QVarLengthArray: add missing STL-style assign()

XMLWordPrintable

    • 5
    • 7cbdc8abb (dev), 87e90a265 (dev), 8712e35ae (dev)
    • Foundation Sprint 72, Foundation Sprint 73, Foundation Sprint 74, Foundation Sprint 75

      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.

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

            dennisoberst Dennis Oberst
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes