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

QString: add missing STL-style assign()

    XMLWordPrintable

Details

    • 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

    Description

      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~~~.

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: