
9 Jun
2005
9 Jun
'05
5:53 p.m.
"David Abrahams" <dave@boost-consulting.com> wrote
template <class F, class A> struct result_of<F(A)> { typedef typename BOOST_TYPEOF(make<F>() ( make<A>() ) ) type; };
BTW, I was having (not typeof-related) problems trying to achieve this kind of syntax in VC7.1 :-( http://lists.boost.org/boost/2005/06/27892.php "make<F>()(make<A>())" just doesn't work. The only thing that kind of works (but with a warning) is "F()(make<A>())". Am I missing something? Regards, Arkadiy