j
k
j a
j l
SomeClass myClass; setOpenCallBack(boost::bind(&SomeClass<B>::memFunc, &myClass)); //does not compile
Your memFun() has 1 argument, and you have express this in the bind: setOpenCallBack(boost::bind(&SomeClass<B>::memFunc, &myClass, _1));
Back to the thread
Back to the list