Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
5
-
Foundation PM Prioritized
Description
QSet, unlike all other Qt containers, and unlike std::unordered_map, lacks the erase(it, it) function ("range-erase"). Currently, the only option to erase a range of items in QSet is to loop over erase(it), which, however, has algorithmic complexity problems (see QTBUG-103328).
Workaround: use removeIf() and hope for QTBUG-103328 to be fixed.
Acceptance criteria: Moral equivalent of acceptance criteria for QTBUG-106175.
Attachments
Issue Links
- clones
-
QTBUG-106175 Q(Multi)Hash is missing range-erase()
-
- Open
-
- is cloned by
-
QTBUG-106182 QString/QByteArray are missing (non-range-) erase()
-
- Closed
-
- relates to
-
QTBUG-106176 Q(Multi)Hash is missing equal_range()
-
- Open
-