qt5base-lts/tests/auto/concurrent
Sona Kurazyan 6ebe3d0f08 Fix QtConcurrent to properly work with functors
QtConcurrent reduce functions were requiring to explicitly pass the
the result type when passing functors as reductor. This was because of
inability to deduce the result type from the functors. The result type
of the QtConcurrent reduce functions should match with the type of the
fist argument of the operator() when a functor is passed. Reused the
ArgResolver type trait (already used for QFuture and QtConcurrent::run)
to find out the result type in that case.

Task-number: QTBUG-88448
Change-Id: Ief0eeee197df8cb9c30f3403d71978f36e4fb0f2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2021-07-21 09:46:33 +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 Remove the qmake project files 2021-01-07 15:32:28 +01: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