Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61145

QtConcurrent::blockingMappedReduced cannot deduce mapped type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.7.1, 5.8.0, 5.9.0, 5.9.1
    • Core: QtConcurrent
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sorvig Morten Sørvig
              krojew Kamil Rojewski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes