|
Boost Users : |
Subject: Re: [Boost-users] [phoenix][lambda] lambda to phoenix translation: get sig (signature) from actor
From: Joel de Guzman (joel_at_[hidden])
Date: 2010-05-31 06:07:01
On 5/31/2010 4:18 PM, alfC wrote:
> (this in the context of boost.units is necesary to adimensionalize an
> expression, apply a normal function and then restore de dimension),
> this is the closest I got but doesn't work:
>
> bind(
> &result_type::value,
> actor<LambdaExp>(at_c<0>(f_expr))( // Question: what goes here? to
> apply the subexpr.
> bind(
> &quantity<UnitIntegrandDomain>::from_value,
> arg_names::arg1
> )
> ) // end here
> );
What are the args to LambdaExp?
Regards,
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net http://www.facebook.com/djowel Meet me at BoostCon http://www.boostcon.com/home http://www.facebook.com/boostcon
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net