On sexta-feira, 2 de novembro de 2012 00.23.43, Olivier Goffart wrote: > Hi, > > It is the QPrivateSignal that is breaking it. > > It is only possible to connect to functor (lambda are functor) if they have > the same number of arguments. The number need to match exactly, and it is > not possible to omit any. (so you may not omit the QPrivateSignal argument) > Using C++11 new SFINAE rules, it should be possible to change that. > > One hack could be to remove the QPrivateSignal type from the Argument list > in the second template parametter of QFunctorSlotObject.
Why doesn't the code use the number of arguments from the receiver instead of the sender? We did that for regular functions and member functions. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
