std::result_of is a C++11 metafunction that provides the result of calling a function type with a given set of argument types.
I have some trouble understanding the need for std::result_of in C++0x. If I understood correctly, result_of …
#include <iostream> #include <type_traits> double f(int i) { return i+0.1; } struct F { public: double operator ()(…