You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::result_of is removed in C++20, causing gmock-actions.h:819 to fail in Visual Studio 2019 16.6.2 with C++20 enabled. However std::invoke_result is available since C++17.
For C++20:
using ReturnType = typename std::result_of<MethodPtr(Class*)>::type;
should be replaced with:
using ReturnType = typename std::invoke_result_t<MethodPtr, Class*>;
stevenhoving, flipchart, alastairpatrick, Asaaj, matthieucoquet and 1 more