$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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://listarchives.boost.org/mailman/listinfo.cgi/boost
>