Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-07-03 14:34:01


On Jul 3, 2004, at 4:38 AM, Andy Little wrote:

> An example that I think demonstrates the superiority of this:
>
> binary_operation<A,Op,B>::result_type result;
>
> over this:
>
> result_of_plus<A, B>::type result;
>
> in this directory:

In Boost CVS there is an implementation of result_of, which would be
used like this:

        result_of<Op(A, B)>::type

        Doug


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