
10 Jul
2007
10 Jul
'07
7:27 a.m.
Actually, the compiler can deduce argument types from a function pointer. You can use function_traits combined with typeof. But you can't deduce argument types from lambda_functor because a lambda_functor did not have any argument type before it invoke. On 7/10/07, I Wei <i.c.code@gmail.com> wrote:
I thought I could use less template argument, if the compiler would deduce the argument type of lambda_functor. And I think it is impossible now. If the compiler can't deduce the argument type from a function pointer, it should not be able to do on the lambda_functor.
Wei _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost