$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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?