Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-05-26 13:33:47


Yaoltzin Gomez wrote:

> Thank you for you time to answer. Allthough your answer has helped
> me, I still have the bad_weak_ptr exception. Every time I try to
> access the shared_from_this pointer from inside Base member
> functions, I get that exception. What I want to know is how can I
> access safely an without errors, the shared_from_this pointer inside
> my Base class, when I create a smart pointer instance of my Derived
> class.

Can you post a complete example program that demonstrates the problem?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net