This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RE: STL debug mode
- From: Phil Edwards <phil at jaj dot com>
- To: "Peter Nordlund L (ERA)" <Peter dot L dot Nordlund at era dot ericsson dot se>
- Cc: "'libstdc++ at gcc dot gnu dot org'" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 19 Apr 2002 04:49:49 -0400
- Subject: Re: RE: STL debug mode
- References: <6526481A986CD51189C30002A52C969702CE4FF2@Esealnt862.al.sw.ericsson.se>
On Fri, Apr 19, 2002 at 10:29:59AM +0200, Peter Nordlund L (ERA) wrote:
> Sorry, but I don't understand what you mean.
Let's say your code has a bug. If the C++ standard requires us to throw a
particular exception for that bug, then we throw that exception even when
we're not in some kind of debug mode.
> In my experience the following program will cause a Segmentation fault.:
Ah, now I understand what you mean.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams