Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
5
-
18a2c62c0 (dev)
-
Foundation Sprint 82, Foundation Sprint 83
Description
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~~~.
Attachments
Issue Links
- blocks
-
QTBUG-106201 Port Qt code to new container assign() methods
- Closed
- clones
-
QTBUG-106198 QString: add missing STL-style assign()
- Closed
- is blocked by
-
QTBUG-106197 [spike] QString/QByteArray: determine how missing assign() overload set should look like
- Closed
For Gerrit Dashboard: QTBUG-106199 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
479760,16 | QByteArray: add STL-style assign() | dev | qt/qtbase | Status: MERGED | +2 | 0 |