SyntaxFix
Write A Post
Hire A Developer
Questions
int (*x)() is not a pointer to member function. A pointer to member function is written like this: int (A::*x)(void) = &A::f;.
int (*x)()
int (A::*x)(void) = &A::f;