31 May
2010
31 May
'10
10:07 a.m.
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