This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exceptions in constructor?
- To: chip at pobox dot com
- Subject: Re: Exceptions in constructor?
- From: Paul Koning <pkoning at xedia dot com>
- Date: Mon, 27 Oct 1997 09:19:43 -0500
- Cc: egcs at cygnus dot com
- References: <199710251635.MAA20432@cyprus.atlantic.net>
>>>>> "chip" == chip <chip@atlantic.net> writes:
chip> I'm 99.44% pleased with the exception-based code I can now
chip> write and test under Linux on x86. The remaining .56% would be
chip> fulfilled if throwing an exception in a constructor
chip> automatically called the appropriate operator delete () if
chip> there had been a call to operator new ().
Does the C++ standard say to do that? It would surprise me. If it
doesn't, it would be a major problem if egcs did it anyway.
paul