
20 Mar
2007
20 Mar
'07
7:55 p.m.
"Daniel Walker" <daniel.j.walker@gmail.com> wrote
I believe Boost.Typeof would handle the Fusion case as well as any future conventions adopted by future libraries. Still, for compilers that Boost.Typeof doesn't support, it would be nice if result_of could handle Boost.Lambda at least. More recent libraries and future libraries could consider adopting a previously existing practice (result<F(Args) or sig<tuple<Args> >) that result_of can support without typeof.
Please note that typeof strips top-level references, and therefore its usage in relation to result_of is very limited and may not give the correct result unless you are sure that the result is not a reference. Regards, Arkadiy