7 Oct
2011
7 Oct
'11
7:57 a.m.
typedef my_function_type::result_type my_return_type;
2011/10/7 Robert Jones
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
#include typedef boost::function my_function_type; typedef boost::result_of ::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. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users