[+] AuGetAmbiguousMethod
This commit is contained in:
parent
74a091aad2
commit
d49bae2e0e
@ -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
|
Loading…
Reference in New Issue
Block a user