|
Boost : |
From: Daniel Frey (d.frey_at_[hidden])
Date: 2008-04-12 11:18:42
On Sat, 2008-04-12 at 17:31 +0300, Peter Dimov wrote:
> http://svn.boost.org/trac/boost/changeset/44344
Wouldn't it be easier to make shared_count(weak_count&) to never throw
and add
if(!pn) boost::throw_exception( boost::bad_weak_ptr() );
to the non-tagged ctor of the shared_ptr?
Regards, Daniel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk