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

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

XMLWordPrintable

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

      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?

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes