I've been trying to track down what the maximum number of arguments that can be added to boost::function<> is. I'm starting to believe that the maximum number is 10 arguments. As it seems that when I input 11 arguments VS complains with this error: Error 1 error C2079: 'my_func' uses undefined class
'boost::function<Signature>' Error 2 error C2440: 'initializing' : cannot convert from 'void (__cdecl *)(const char *,affine_transformation_range *,int,int,double,int,int,int,int,int,char)' to 'int'
My declaration looks like as follows:
function