
31 Mar
2009
31 Mar
'09
1:31 p.m.
and what is the right way?
boost::function
Another thing that I have seen now. The compiler crashes when I want to assign it to:
boost::function
func=boost::bind<bool>(&A::SetData,&a); What is wrong?
MSVC crashes on args mismatch in bind. In your case SetData's should be of type B, not A.