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
structS {
intf(int);
};
using T = int (S::*)(thisint); // Invalid
T t = &S::f;
GCC corectly rejects it:
error: a pointer to member function type cannot have an explicit object parameter
4 | using T = int (S::*)(thisint); // INVALID
| ^~~~~~~~
note: the type of a pointer to explicit object member function is a regular pointer to function type