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

QFuture should use C+11 variadic template for unlimited number of function parameters

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.0.0
    • Core: QtConcurrent
    • None
    • Any

    Description

      Currently QFuture can pass a limited number of parameters to a function and I suppose that this was done because templates at the time didn't support the ellipsis operator that the functions have already.
      Now, with C++11 we have variadic templates ( http://www.cplusplus.com/articles/EhvU7k9E/ ).
      How about implementing it in QFuture to be able to pass unlimited parameters?

      Attachments

        Issue Links

          Activity

            People

              sorvig Morten Sørvig
              lilian.moraru Lilian A. Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: