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

When using a reduce functor it will not compile as it does not find the right signature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.11.0
    • 4.7.4, 5.9.1, 5.10
    • Core: QtConcurrent
    • None

      When using a reduce functor it will not compile as it does not find the right signature. It works fine when using a member function or a global function but not a functor. Attached example reproduces this problem

        1. 283108.pro
          0.3 kB
          Andy Shaw
        2. ComputePi.cpp
          1 kB
          Andy Shaw
        3. ComputePi.h
          0.9 kB
          Andy Shaw
        4. fix.diff
          0.5 kB
          Ville Voutilainen
        5. main.cpp
          0.3 kB
          Andy Shaw
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            villevoutilainen_qt Ville Voutilainen
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes