$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-04-10 09:13:26
From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>
> Peter Dimov wrote:
> >
> > From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>
>
> [snip problem description with shared_ptr]
>
> > > I think this is a serious problem and should be addressed.
> >
> > This is definitely a serious problem (with the compiler.) I don't see an
> > easy way to avoid the bug. Suggestions?
>
> Disable template<typename Y> shared_ptr::shared_ptr &
operator=(shared_ptr<Y> const & r)
> for this compiler?
Done, thanks. I was worried about existing code but actually this operator=
is merely an optimization. Fixed weak_ptr as well.