Oh.Please do not play joke on me.
I am doing my work seriously. I really want the answer on lambda expression in order to know lambda expression further.
Can any one with kindness help me?
I am using Dev-C++ 4.9.8.0,with lambda expression:
.....................
class A{
............
int result;
double function2(const int& n)
........................
double function3(const int& Q,const int& N)
.....................
double function1(const int& q, int& n){
double result=0.0;
int loopvalue=0, totaltime=n;
n%=q;
++thenumbern;
( for_loop(var(loopvalue)=0,var(loopvalue)<=var(totaltime),++var(loopvalue),
var(result)+=( bind(&A::function2,_2)*bind(&A::function3,_1,_2))))(q,n);
return result;
}
But the complier told me that:
..............................
\boost\lambda\detail\select_functions.hpp
instantiated from `Arg::sig