Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.7.1, 5.8.0, 5.9.0, 5.9.1
-
None
Description
When passing a lambda as a map function to QtConcurrent::blockingMappedReduced, its result is incorrectly deduced as void. Only after wrapping it in a std::function, everything works as expected.
Attachments
Issue Links
- duplicates
-
QTBUG-33735 QtConcurrent::mapped doesn't work with C++11 lambdas
-
- Closed
-
- relates to
-
QTBUG-67603 Doc: Example code snippet for QtConcurrent::mapped does not compile
-
- Closed
-