From 5814650247140409472 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f78e5,96a8c01f7043c2d9 X-Google-Attributes: gidf78e5,public X-Google-ArrivalTime: 2002-09-25 04:42:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull From: kuyper@wizard.net ("James Russell Kuyper Jr.") Newsgroups: comp.std.c++ Subject: Re: Proposal: exception stack unwinding resumption Date: Wed, 25 Sep 2002 11:42:46 +0000 (UTC) Organization: Not Enough Lines: 25 Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++) Message-ID: <3D90FB89.32BD5ADB@wizard.net> References: <6df0c6a8.0208260746.633710cb@posting.google.com> <6df0c6a8.0209121133.6f081c37@posting.google.com> <23b84d65.0209161107.23bea618@posting.google.com> <6df0c6a8.0209170602.2cb54634@posting.google.com> <6df0c6a8.0209201925.6faa9e57@posting.google.com> <6df0c6a8.0209230602.2aba3ca8@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: mail2news.demon.co.uk 1032954167 16339 10.0.0.1 (25 Sep 2002 11:42:47 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 25 Sep 2002 11:42:47 +0000 (UTC) X-Received: from mulga.cs.mu.oz.au ([128.250.1.22]) by news.demon.co.uk with esmtp (Exim 4.05) id 17uAZ3-0004FN-00 for mail2news@news.news.demon.net; Wed, 25 Sep 2002 11:42:45 +0000 X-Received: by mulga.cs.mu.OZ.AU id VAA08469; Wed, 25 Sep 2002 21:42:41 +1000 (EST) X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f X-Path: comp-std-cpp-robomod!not-for-mail X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Delivered-To: std-c++@ncar.ucar.edu X-Accept-Language: en, es, de, ru X-Newsgroups: comp.std.c++ X-GC-Trace: gv1-dSjJCCnAxI6kkUhVzt6Z8qIqHhSCWAyU+9N7GluwB51g9lGfA== X-NNTP-Posting-Date: Tue, 24 Sep 2002 18:55:35 CDT X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.std.c++:14174 "Hillel Y. Sims" wrote: > > "Pierre Baillargeon" wrote in message > news:6df0c6a8.0209230602.2aba3ca8@posting.google.com... > > Tell me: how do you actually test that no exception will > > ever be thrown from a destructor? > > class MyType > { > ~MyType() throw() > { > /*cleanup code that's not really supposed to throw*/ > } > }; Well, yes. :-) But I presume the intention was to have the destructor actually return without throwing. --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]