Subject: Re: [boost] [shared_ptr] calling shared_from_this from constructor
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-03-18 18:50:01
> A have just get latest version from SVN.
> And now my code does not work.
> I found problem in a changed version of shared_ptr and shared_from_this
> (revision 51485).
> Now calling shared_from_this in constructor throw's boost::bad_weak_ptr
Yes, I reverted the old enable_shared_from_this to make trunk match the
release branch. Since the new code hasn't been part of a release I thought
that this would be safe. Sorry. I'll try to bring the new code back into the
trunk (as enable_shared_from_this2) in a few days.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk