typedef double (CModalDlg::*MYFUNC)(double);
...
MYFUNC p=&CModalDlg::theRealFunc;
...
double m=(this->*p)(5.0);
类的函数指针。
最新推荐文章于 2024-09-04 21:15:03 发布
typedef double (CModalDlg::*MYFUNC)(double);
...
MYFUNC p=&CModalDlg::theRealFunc;
...
double m=(this->*p)(5.0);
1791

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