30 Jan
2009
30 Jan
'09
5:42 p.m.
AMDG KERSAM wrote:
class MyBoostTest { public: void testFunction(int x, int y) {} };
signal.connect(boost::bind<void>(&MyBoostTest::testFunction, new MyBoostTest, _1));
What am I doing wrong?
testFunction needs three arguments, the class instance, x, and y. add _2 to the parameters for boost::bind. In Christ, Steven Watanabe