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