shared_ptr - no throw requirement
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). Thanks, Glen [Non-text portions of this message have been removed]
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. 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).
Thanks, Glen
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor ADVERTISEMENT
Info: <http://www.boost.orghttp://www.boost.org> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.plhttp://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (2)
-
Glen Knowles
-
Victor A. Wagner, Jr.