
3 Jun
2010
3 Jun
'10
8 p.m.
On 6/4/10 9:02 AM, alfC wrote:
typename LambdaExp::template result<basic_environment<quantity<si::length> > >::type
it gives:
error_cant_deduce_type (instread of the equivalent of quantity<si::area>, like in quantity<si::area> a = quantity<si::length>()*quantity<si::length>() )
Could you please post a minimal cpp file for this one too?
this is a minimal example:
[snip] When you do a*a with quantity<si::length>, what is the expected return type? (looks like a phoenix-2 limitation. hopefully, this will all get sorted out with phoenix-3). Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net