
23 Nov
2004
23 Nov
'04
2:29 p.m.
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