From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-04-22 15:06:07
> On Tue, 2008-04-22 at 01:54 +0300, Peter Dimov wrote:
>> as for the rest, I'd really like to see the
>> patch without #1 and #2.
> Please see the attached patch. OK to commit?
The shared_count.hpp and shared_ptr.hpp changes are OK with me. I'll let
Frank approve the esft part.
> Note that with this patch, the alternative aliasing is already possible:
> shared_ptr<X> x = ...;
> Y* y = ...;
> shared_ptr<Y>( x.get_shared_count(), y ); // aliasing
> Since the current aliasing ctor is not as explicit and it is not yet
> standardizes: What do you think about removing it?
I'm not interested in pursuing this for C++0x.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk