Sunday, 18 August 2013

weak_ptr is none pointer type

weak_ptr is none pointer type

I used ordinary pointers in my project. I had some problems with memory
and changed ordinary pointers for weak_ptr. I had error:
error: base operand of '->' has non-pointer type 'boost::weak_ptr'
Why? What should I do?

No comments:

Post a Comment