Morning All

It's first thing in the morning for me, so maybe my neurons aren't warmed up, but I was
surprised this doesn't work.

#include <boost/utility/result_of.hpp>
#include <boost/function.hpp>

typedef boost::function<int(char)> my_function_type;

typedef boost::result_of<my_function_type>::type my_return_type;

Doesn't Boost.Function support 'result_of', or am I missing something obvious?

If not, is there some other idiom for this, bearing mind that 'my_function_type' might
be a Boost.Function, or a true function, or a Boost.Bind?

Thx,

- Rob.