Boost logo

Boost :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-06-09 12:18:42


On Jun 9, 2005, at 11:49 AM, David Abrahams wrote:
> It seems to me that when BOOST_TYPEOF becomes available,
> boost::result_of should use it in its default implementation,
> something like:
>
> template <class F, class A>
> struct result_of<F(A)>
> {
> typedef typename BOOST_TYPEOF(make<F>() ( make<A>() ) ) type;
> };
>
> Is that in the plan?

Absolutely.

        Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk