Using MS VC++ 2012 and Boost library 1.51.0
This is a snapshot of my problem:
struct B {
C* cPtr;
}
struct C {
void callable (int);
}
void function (B* bPtr, int x) {
// error [1] here
boost::thread* thrPtr = new boost::thread(bPtr->cPtr->callable, x)
// error [2] here
boost::thread* thrPtr = new boost::thread(&bPtr->cPtr->callable, x)
}
[1] error C3867: 'C::callable': function call missing argument list; use '&C::callable' to create a pointer to member
[2] error C2276: '&' : illegal operation on bound member function expression