Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
None
-
5
-
223e409efbf29f7c06bec7a403403c9689f42b3e
-
Qt6_Foundation_Sprint 19, Qt6_Foundation_Sprint 20, Qt6_Foundation_Sprint 21
Description
This is about the filter and map functions in QtConcurrent. They accept a sequence of items and some of them return a sequence of items.
Unit tests should be created which test:
- Using move-only sequences as input
- Using sequences of move-only items as input
- Using move-only sequences as output
- Using sequences of move-only items as output
With the current code, (1) should work. (2), (3), and (4) are known to not work.
The goal of this task is to have four patches in Gerrit of which one (1) is merged, the others waiting for improvements in QtConcurrent to be merged thereafter.
While this task talks about move-only types, the underlying motivation is to make sure the code moves when there are moveable objects (rvalues, temporaries). It's just easier to test whether the code works on move-only types than to test whether the code moves moveable objects.
Attachments
Issue Links
- depends on
-
QTBUG-87084 Improve support of move-only types in QtConcurrent
-
- Open
-