by knorker · 6y ago · 0 comments
using return_type = decltype(f(args...));
seems easier to read and "more C++11".Also the "> >" is a pre-C++11 pattern.
result_of has now been deprecated in newer C++ versions but since this advertises itself as C++11 thread pool I intend to leave it as is.