【发布时间】:2011-08-31 05:37:46
【问题描述】:
所以我想创建一个类似的函数:
void proxy_do_stuff(boost::bind return_here)
{
return_here(); // call stuff pased into boost::bind
}
我可以这样称呼它:
proxy_do_stuff(boost::bind(&myclass::myfunction, this, my_function_argument_value, etc_fun_argument));
这样的事情怎么办?
【问题讨论】:
标签: c++ boost boost-bind