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
#include<functional>
#include<boost/utility/result_of.hpp>structX
{
bool __cdecl f();
};
using F = decltype(&X::f);
using A = std::result_of<F(X*)>::type; // fineusing B = boost::result_of<F(X*)>::type; // fails
Might be a root cause of boostorg/phoenix#81
https://godbolt.org/z/WGMKezqd7
There should be much more of these calling convention stuff that will brakes result of, see https://github.com/boostorg/type_traits/blob/30396ed792697b5a5a7c4f02f7e22ae8d6ad95fd/include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp
The text was updated successfully, but these errors were encountered: