qt5base-lts/tests/auto/concurrent
Sona Kurazyan 642b9fce81 QtConcurrent::run: support non default-constructible return types
The QtConcurrent::RunFunctionTask class keeps a variable to store the
result of QtConcurrent::run when it becomes available, so that it can be
reported afterwards. This requires the result type to be
default-constructible. However there's no need in storing the result, it
can be reported immediately after it becomes available.

Pick-to: 6.1 6.2
Fixes: QTBUG-95214
Change-Id: I95f3dbff0ab41eaa81b104a8834b37d10a0d193a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
2021-08-18 09:41:55 +02:00
..
qtconcurrentfilter Fix QtConcurrent to properly work with functors 2021-07-21 09:46:33 +02:00
qtconcurrentfiltermapgenerated Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtconcurrentiteratekernel Remove the dead code for blocking methods from QtConcurrent 2021-06-14 11:52:36 +02:00
qtconcurrentmap Fix QtConcurrent to properly work with functors 2021-07-21 09:46:33 +02:00
qtconcurrentmedian Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtconcurrentrun QtConcurrent::run: support non default-constructible return types 2021-08-18 09:41:55 +02:00
qtconcurrenttask Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtconcurrentthreadengine tst_QtConcurrentThreadEngine: fix the threadCount() test 2021-07-12 15:54:41 +02:00
CMakeLists.txt CMake: Regenerate projects using pro2cmake one last time 2020-12-10 11:52:30 +01:00
testhelper_functions.h Automatically generate unit tests for QtConcurrent 2020-11-09 16:01:33 +01:00