class test { public: void (test::*p)(); void Print(){cout<<"Test"<<endl;} test(){p = &test::Print;} };
void (test::*q)();
posted on 2007-04-26 15:35 Legend 阅读(115) 评论(0) 编辑 收藏 引用
Powered by: C++博客 Copyright © Legend