このようなことを行う方法はありますか (MS VS 2008)?
boost::bind mybinder = boost::bind(/*something is binded here*/);
mybinder(/*parameters here*/); // <--- first call
mybinder(/*another parameters here*/); // <--- one more call
私は試した
int foo(int){return 0;}
boost::bind<int(*)(int)> a = boost::bind(f, _1);
しかし、うまくいきません。