Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-06-09 12:53:03

"David Abrahams" <dave_at_[hidden]> 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 :-(

"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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at