Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
6.2
-
None
Description
We already have QStringList::join, but that works only with one single container. Sometimes, we do however have a different container (e.g. https://codereview.qt-project.org/c/qt/qtdeclarative/+/403314/1/src/qmlcompiler/qqmljsimportvisitor.cpp#81).
It would be nice if we had a built-in method that takes care of reserving memory to avoid repeated allocations.
Attachments
Issue Links
- duplicates
-
QTBUG-64318 Implement a generic container-joining algorithm
- Open