qt6-bb10/tests/auto/concurrent
Ivan Solovev 60f945527a QtConcurrent: fix support for callables with deduced return type
Commit 6ebe3d0f08 introduced extra
SFINAE checks on the template conditions.
However, it broke the case of using callables with deduced return
type, because SFINAE does not work for such conditions and treated
as a hard error instead.

Fix by explicitly providing all template parameters, so that compiler
could figure a better overload on its own.

Only QtConcurrent::blockingMapped() seems to be affected, but add
unit-tests to check all other methods as well.

Fixes: QTBUG-130766
Pick-to: 6.5
Change-Id: I1ddbe712d8ce04ac96ba13841cb569d728cfb943
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
(cherry picked from commit f73765682e7c8f1e0e78b7464deec57c7f2669ba)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7b356f0f31e3bbfaeed25dd338c9c9c6d3c3f2c4)
2025-01-06 17:09:37 +00:00
..
qtconcurrentfilter QtConcurrent: fix support for callables with deduced return type 2025-01-06 17:09:37 +00:00
qtconcurrentfiltermapgenerated Fix truncation warning in generation_helpers 2024-03-18 20:10:34 +01:00
qtconcurrentiteratekernel Change license for tests files 2024-02-04 09:56:42 +01:00
qtconcurrentmap QtConcurrent: fix support for callables with deduced return type 2025-01-06 17:09:37 +00:00
qtconcurrentmedian Change license for tests files 2024-02-04 09:56:42 +01:00
qtconcurrentrun Change license for tests files 2024-02-04 09:56:42 +01:00
qtconcurrenttask Change license for tests files 2024-02-04 09:56:42 +01:00
qtconcurrentthreadengine tst_QtConcurrentThreadEngine: fix UB (uninitialized boolean) 2024-07-06 10:17:50 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
testhelper_functions.h Change license for tests files 2024-02-04 09:56:42 +01:00