boost::result_of
// In header: <boost/utility/result_of.hpp> template<typename F> struct result_of { };