qt6-bb10/tests/auto/concurrent/qtconcurrentmap
Sona Kurazyan 2e27b98cff Use universal references in QtConcurrent
Changed QtConcurrent algorithms to take the passed sequences as
universal references, where it makes sense. In addition to avoiding
to create extra copies when passing rvalues, this change allows
passing temporary container adaptors to QtConcurrent::map (e.g. see
the example in the ticket and the new test-cases).

Task-number: QTBUG-83170
Change-Id: Ia7c0833f4ec1d860294fa5214cd53934b65ff084
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-09-30 15:28:01 +02:00
..
.gitignore Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
.prev_CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
functions.h Add more tests for QtConcurrent::filterReduced() 2020-05-07 15:23:58 +02:00
qtconcurrentmap.pro Remove QLinkedList 2020-02-19 21:01:07 +01:00
tst_qtconcurrentmap.cpp Use universal references in QtConcurrent 2020-09-30 15:28:01 +02:00