普通成员函数指针//define and initializevoid (A::*p)(void) = &A::func;//callerA *a = new A();//call, parentheses are needed(a->*p)();静态成员函数指针A a;void (*p)() = &A::funb;p();