Hi,

> This patch evaluates _FORTIFY_SOURCE in a way similar to GNU libc.
> If set, std::vector::operator[] throws if the index is out of bounds.
> This is compliant with the standard because such usage triggers
> undefined behavior.  _FORTIFY_SOURCE users expect some performance hit.

Indeed. But at the moment I don't clearly see how this kind of check relates to 
debug-mode. 

Library patches should go to the library mailing list too (especially so when 
controversial ;)
> 


Paolo

Reply via email to