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

QByteArray: add missing STL-style assign()

XMLWordPrintable

    • 5
    • 18a2c62c0 (dev)
    • Foundation Sprint 82, Foundation Sprint 83

      See epic for more details.

      See QTBUG-106197 for the agreed-upon overload set.

      Acceptance criteria:

      • QByteArray has an assign() overload set following QTBUG-106197
      • For a QByteArray that is not shared and has sufficient capacity() to hold the result of the operation, these functions do not allocate additional memory.
      • Otherwise, the moral equivalent of *this = QByteArray(~~~args~~~) (even if QByteArray cannot actually be constructed using ~~~args~~~.

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

            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