
4 Jun
2010
4 Jun
'10
2:32 a.m.
On 6/4/10 10:16 AM, Steven Watanabe wrote:
AMDG
Joel de Guzman wrote:
When you do a*a with quantitysi::length, what is the expected return type?
quantitysi::area
(looks like a phoenix-2 limitation. hopefully, this will all get sorted out with phoenix-3).
Ok, phoenix-2's type deduction can't deduce that alright. Sorry. Best you can do is specialize boost::phoenix::result_of_xxx for your types. Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net