
12 Apr
2008
12 Apr
'08
3:18 p.m.
On Sat, 2008-04-12 at 17:31 +0300, Peter Dimov wrote:
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