On Wednesday 14 September 2011 11:06:02 Keith Gardner wrote:
> I was wondering if QtConcurrent could be modified to use Variadic Template
> Arguments for the run function since this feature is now available with
> C++11?

It would not be that easy because of the current implementation design of 
QtConcurrent. (it would basically involve a rewrite of all the current 
template logic)
Also, we have to keep it working with compiler that do not support C++11.

(I only see one benefit of having variadic template support: make possible to 
call functions with more arguments. And that can now be done with a very small 
boilerplate)

But QtConcurrent really could benefit from some love. Both the templated code, 
but also the internals (to reduce the overhead of the framework).

-- 
Olivier
_______________________________________________
Qt5-feedback mailing list
Qt5-feedback@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to