
25 Jul
2009
25 Jul
'09
5:35 p.m.
class classA{ .................. public: boost::function
theunknownfunc; ......................... and a member function in classA used such function: double classA::function1( int& q, const int& n){ double result=0.0; int loopvalue=1, totaltime=thenumbern; int innern=1; ( for_loop(var(loopvalue)=1,var(loopvalue)<=var(totaltime),++var(loopvalue), (var(result)+= ( bind(&classA::theunknownfunc,this,_2)*bind(&classA::function2,this,_1,_2)), ++_2,_2%=_1))) (q,innern); return result; }
"theunknownfunc" doesn't seem to be a member function of A, so you can't use "&classA::theunknownfunc" notation.