
15 Mar
2011
15 Mar
'11
2:17 p.m.
#include <iostream>
#include ,this, protect(f))(); }
};
class test2
{
public:
double handle(int i)
{
std::cout<<"test2\n";
return i;
}
};
int main()
{
test2 t2;
test1 t1;
t1.handle1(boost::bind(&test2::handle,t2,_1));
return 0;
}