[+] AuGetAmbiguousMethod

This commit is contained in:
Reece Wilson 2023-09-04 22:28:30 +01:00
parent 74a091aad2
commit d49bae2e0e

View File

@ -416,4 +416,14 @@ struct AU_ALIGN(uSize)
{
}
};
};
template <class Ret_t, class T, class ...Args>
static auto AuGetAmbiguousMethod2(Ret_t(T :: *a)(Args...))
{
return a;
}
#define AuGetAmbiguousMethod(Ret_t, Args, T, Method) AuGetAmbiguousMethod2<Ret_t, T, AU_BRACKET_SCOPE Args >(&T::Method)
#define AuGetAmbiguousMethod_v AuGetAmbiguousMethod