C++
C++ 如何使用
map<string,pFunc>
pFunc 代表的是函数指针.
void (*func)(int ,int);
必须要使用typedef void (*func)(int ,int); 才能作为map的第二个参数
posted on 2014-07-11 22:36 Practicer.. 阅读(140) 评论(0) 编辑 收藏 举报
C++ 如何使用
map<string,pFunc>
pFunc 代表的是函数指针.
void (*func)(int ,int);
必须要使用typedef void (*func)(int ,int); 才能作为map的第二个参数
posted on 2014-07-11 22:36 Practicer.. 阅读(140) 评论(0) 编辑 收藏 举报