🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2750

Re: Exceptions in destructors

#2750
From: Mike Ball
Date: Mon, 27 Nov 1995 15:58
18 lines
1370 bytes
In article <495ls8$17o@steel.interlog.com> herbs@interlog.com (Herb Sutter) writes:

>Is disallowing a rethrow deliberate, or something that could be relaxed to 
>allow rethrowing as Cline and Lomow suggest?

It was very deliberate and is considered an extremely important restriction
by part of the C++ community.  It means that you can believe the exception
specification.  This allows a number of significant optimizations.

In our own customers, the more heavily they use exceptions the more they
want this restriction.

-Mike Ball-
SunSoft Developer Products

[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <49b4ft$gqm@engnews2.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
References: <9532523.1824@mulga.cs.mu.OZ.AU> <494oog$hmf@gabi.gabi-soft.fr> <495ls8$17o@steel.interlog.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
From: Michael.Ball@Eng.sun.com (Mike Ball)
Newsgroups: comp.std.c++
Subject: Re: Exceptions in destructors
Date: 27 Nov 1995 15:58:43 GMT
Organization: Sun
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <49b4ft$gqm@engnews2.Eng.Sun.COM>
References: <9532523.1824@mulga.cs.mu.OZ.AU> <494oog$hmf@gabi.gabi-soft.fr> <495ls8$17o@steel.interlog.com>
NNTP-Posting-Host: taumet.eng.sun.com
Content-Type: text
X-Nntp-Posting-Host: cygany.eng.sun.com
Content-Length: 564
X-Lines: 14
Originator: clamage@taumet