仿函数形如:为类或结构体重载了()操作幅,使之表达形式与函数调用一致。
typedef struct tag_Functor
{
void operator()(void)
{
//implement function here
}
}Functor;
http://blog.csdn.net/iamoyjj/archive/2011/02/15/6186935.aspx
仿函数形如:为类或结构体重载了()操作幅,使之表达形式与函数调用一致。
typedef struct tag_Functor
{
void operator()(void)
{
//implement function here
}
}Functor;
http://blog.csdn.net/iamoyjj/archive/2011/02/15/6186935.aspx