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

QString: add missing STL-style assign()



    • 5
    • 7ca633d9a (dev), ef1be8455 (dev), 54d8d8055 (dev), f5ed163c1 (dev), a08ca88b2 (6.6), 05e388013 (dev), 879912619 (6.6)
    • Foundation Sprint 82, Foundation Sprint 83, Foundation Sprint 84


      See epic for more details.

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

      Acceptance criteria:

      • QString has an assign() overload set following QTBUG-106197
      • For a QString 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 = QString(~~~args~~~) (even if QString cannot actually be constructed using ~~~args~~~.


        Issue Links

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