Boost logo

Boost :

From: Brock Peabody (brock.peabody_at_[hidden])
Date: 2004-11-23 09:29:22


> On Behalf Of Doug Gregor
>
> Yes :)
>
> With result_of, you pass the function object type _and_ the types of
> the arguments, e.g.,
>
> boost::result_of<test_struct(int, float)>::type
>
> That's how result_of is able to deal with polymorphic function objects.

Ahh, that's pretty slick!

Thanks,
Brock


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