$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-11-19 13:22:06
From: "Fernando Cacciola" <fernando_cacciola_at_[hidden]>
> A solution is to add a non-template assignment, at least only for
bcc5.5.1,
> as:
>
> shared_ptr & operator=(shared_ptr const & r) // never throws
> {
> px = r.px;
> pn = r.pn; // shared_count::op= doesn't throw
> return *this;
> }
>
> With this additional assignment, the test passes.
Applied, thanks. :-)