[fusion] return type computation

The Fusion "Polymorphic Function Object" concept has a nested member template called "result" for calculating the return type of the function object, but it is not result_of compliant. The return type of: f(t1, ...tN) is F::result<T1, ...TN>::type Why isn't it F::result<F(T1, ...TN)>::type to be compliant with TR1 result_of? -- Eric Niebler Boost Consulting www.boost-consulting.com

Eric Niebler wrote:
The Fusion "Polymorphic Function Object" concept has a nested member template called "result" for calculating the return type of the function object, but it is not result_of compliant. The return type of: f(t1, ...tN) is F::result<T1, ...TN>::type
Why isn't it F::result<F(T1, ...TN)>::type
to be compliant with TR1 result_of?
Yes. I intend to fix this soon, but not before I get back to my workstation. I'm hoping Dan beats me to it :-) I also intend to fix Phoenix to reflect this, again, maybe Dan beats me to it (hehehe) :-) Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
participants (2)
-
Eric Niebler
-
Joel de Guzman