|
Boost Users : |
Subject: Re: [Boost-users] [phoenix][units] make boost.phoenix play well with boost.units
From: Joel de Guzman (joel_at_[hidden])
Date: 2010-06-03 22:00:28
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
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