|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-04-12 10:31:23
I wrote:
> Patrick Twohig:
>
>
>> I've been maintaining/developing a fairly large application which has
>> been
>> built entirely without the use of exceptions. Two of the major target
>> platforms have weak or no exception support. Anyhow, It appears that the
>> function weak_ptr<T>::lock() relies on an exception thrown by
>> shared_ptr<T>'s constructor in order to work properly.
>
> Very good point. I consider this a bug; please feel free to add a Trac
> ticket for it.
Never mind. I committed a fix:
http://svn.boost.org/trac/boost/changeset/44344
Let me know how it works for you.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk