-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
5
-
Foundation Sprint 73, Foundation Sprint 74, Foundation Sprint 76, Foundation Sprint 77, Foundation Sprint 78, Foundations Sprint 79
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~~~).
- blocks
-
QTBUG-106201 Port Qt code to new container assign() methods
-
- Open
-