Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-01-23 05:37:36


> Yes.
>
> int(double) means call an object of type int with one argument of type
> double.
>
> You need result_of<F(A)>, where F is as above, and A is the argument type.

Thanks, I kind of figured that out eventually, I understand why it's done
that way, but it wasn't obvious from the docs - or not late last yesterday
afternoon anyway ;-)

BTW, do you have any plans to apply result_of to reference_wrapper to make
TR1 conforming (only if the compiler can cope obviously)?

Many thanks,

John.


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