typedef double (CModalDlg::*MYFUNC)(double);
...
MYFUNC p=&CModalDlg::theRealFunc;
...
double m=(this->*p)(5.0);
类的函数指针。
最新推荐文章于 2022-11-10 10:26:27 发布
typedef double (CModalDlg::*MYFUNC)(double);
...
MYFUNC p=&CModalDlg::theRealFunc;
...
double m=(this->*p)(5.0);
7002
1730
1036
1487

被折叠的 条评论
为什么被折叠?