Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
5
-
bbbe5f45c (dev), 8712e35ae (dev), 782ccc6de (dev), 3db9ef358 (dev), 45bf63676 (6.6)
-
Foundation Sprint 73, Foundation Sprint 74, Foundation Sprint 76, Foundation Sprint 77, Foundation Sprint 78, Foundations Sprint 79, Foundations Sprint 80, Foundation Sprint 81, Foundation Sprint 82
Description
See epic for more details.
Acceptance criteria:
- QList has an assign() overload set following std::vector's (https://en.cppreference.com/w/cpp/container/vector/assign), except the C++20 constexpr, and using QList::parameter_type instead of const T&.
- For a QList that is not shared and has sufficient capacity() to hold the result of the operation, these functions do not allocate additional memory.
- Otherwise, equivalent to *this = QList(~~~args~~~).
Attachments
Issue Links
- blocks
-
QTBUG-106201 Port Qt code to new container assign() methods
- Closed