Boost logo

Boost Users :

From: Glen Knowles (gknowles_at_[hidden])
Date: 2003-08-18 17:44:54


From: Victor A. Wagner, Jr. [mailto:vawjr_at_[hidden]]
>At Monday 2003-08-18 14:43, you wrote:
>>What's the rational for the requirement that ~pointee() be no throw?
Instead
>>of nothrow could it have been specified that shared_ptr functions throw
only
>>if ~pointee() throws?
>>
>>This is also something that could go in the docs (assuming I didn't simply
>>miss it).
>
>the ramifications of having any destructor throw are too horrible to
>contemplate.
>Well, maybe not "too horrible" but several articles have been written on
>the ensuing problems.

This may be true, and I have read a few articles on the subject, but "too
horrible to comtemplate" isn't exactly a rational. A simple statement in the
common requirements that it is deemed too error prone would be helpful.

Glen

[Non-text portions of this message have been removed]


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net