Boost logo

Boost :

From: Atry (pop.atry_at_[hidden])
Date: 2007-07-10 03:27:19


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_at_[hidden]> 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
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk