블로그는 나의 힘!
[ Programing ]/C++2013. 5. 21. 23:55

class cTest

{

privated:

     typedef void ( cTest::*FP_OnlyRun )( void );

     FP_OnlyRun   m_fp;

 

public:

     void a()

     {

         printf("hello");

     }

     void c()

     {

         m_fp   = &cTest::a;

     }

}

 

 

Posted by Mister_Q