No, that's not working.... I still got the same error. Any other ideas? Steven Watanabe-4 wrote:
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/Compiler-Error-With-boost%3A%3Abind-and-boost%3A%3Asig... Sent from the Boost - Users mailing list archive at Nabble.com.