This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RE: STL debug mode


On Fri, Apr 19, 2002 at 09:16:27AM +0200, Peter Nordlund L (ERA) wrote:
> > We prefer to do as many checks as we can during compilation; 
> > that way we can
> > have them on all the time without penalizing your generated 
> > program speed.
> 
> Yes of course, but compile time checks will not catch
> out of range errors etc, that are created during runtime.

Those are required to throw std::out_of_range exceptions, or other exception
types as required by the standard.  We have to catch those kinds of mistakes
regardless of "debug" mode or any other kind of build.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]