j
k
j a
j l
On 20 February 2013 00:27, Miguel Carvajal wrote:
class B { A a; public; VectorClass f(VectorClass,double); void test() { a.evaluate(bind(f,this,_1,_2)); } };
class B {
A a; public;
VectorClass f(VectorClass,double);
void test() { a.evaluate(bind(f,this,_1,_2)); } };
I think you need to use '&B::f' rather than 'f' to get a member function pointer to 'f'.
Back to the thread
Back to the list