std::result_of is deprecated in C++ 17 and removed in C++ 20. The new similar function is std::invoke_result.
Reference:
https://en.cppreference.com/w/cpp/types/result_of#Notes
std::result_of is deprecated in C++ 17 and removed in C++ 20. The new similar function is std::invoke_result.
Reference:
https://en.cppreference.com/w/cpp/types/result_of#Notes