|
Boost : |
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. :-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk