Details
-
Suggestion
-
Status: Open
-
P3: Somewhat important
-
Resolution: Unresolved
-
None
-
None
-
None
-
5
-
Foundation PM Prioritized
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
-
- Open
-
- is blocked by
-
QTBUG-106197 [spike] QString/QByteArray: determine how missing assign() overload set should look like
-
- Open
-
- is cloned by
-
QTBUG-106199 QByteArray: add missing STL-style assign()
-
- Open
-
- relates to
-
QTBUG-45190 Add QTextStream::read|readAll|readLine(QString *) overloads to reuse QString's capacity
-
- Open
-