From: Victor A. Wagner, Jr. [mailto:vawjr@rudbek.com]
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]