摘要:
1.需要头文件#include 2.定义functor变量 :std::tr1::function DpdCreateT;BCB可以先typedef一下函数声明typedef T* (Delegate)(P1*, P2*);std::tr1::function DpdCreateT;3.连接:类函数... 阅读全文
posted @ 2010-06-28 14:25 mrfangzheng 阅读(813) 评论(0) 推荐(0)
|
|||
|
摘要:
1.需要头文件#include 2.定义functor变量 :std::tr1::function DpdCreateT;BCB可以先typedef一下函数声明typedef T* (Delegate)(P1*, P2*);std::tr1::function DpdCreateT;3.连接:类函数... 阅读全文
posted @ 2010-06-28 14:25 mrfangzheng 阅读(813) 评论(0) 推荐(0) |
|||