Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
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
- blocks
-
QTBUG-106201 Port Qt code to new container assign() methods
- Closed
- is blocked by
-
QTBUG-106197 [spike] QString/QByteArray: determine how missing assign() overload set should look like
- Closed
- is cloned by
-
QTBUG-106199 QByteArray: add missing STL-style assign()
- Closed
- relates to
-
QTBUG-45190 Add QTextStream::read|readAll|readLine(QString *) overloads to reuse QString's capacity
- In Review
- split to
-
QTBUG-114208 QString: add missing STL-style assign(It, It) with value_type_t<It> in {char, char8_t} (i.e. UTF-8)
- Closed