extern A a;extern int (A::*fp)();typedef int (*fptr)(A *); fptr p = (fptr)(a.*fp);//该片段来自于http://www.codesnippet.cn/detail/040320132285.html
来源: http://www.codesnippet.cn/detail/040320132285.html