[patch] std::string::operator[] extension in debug mode

Joe Buck Joe.Buck@synopsys.COM
Fri May 20 01:05:00 GMT 2005


On Fri, May 20, 2005 at 02:44:27AM +0200, Paolo Carlini wrote:
> Joe Buck wrote:
> 
> >Agreed; forcing the user (or distros) to build the library twice to
> >support debug mode is a non-starter.
> >
> If I consider this sentence alone, seems too strong to me. We are
> talking about *string* debug-mode, not about the "rest" of the
> debug-mode functionality, for containers, that is not as issue and works
> OK as far as we know. Currently, *string* debug mode simply does *not*
> work, no matter what the user or the distros do. Sad, but true...

Then we should document it as a bug.  I was bothered by the claim
that the user "deserves what he gets", just for reading the documentation
or headers and trying a documented feature; I recognize that it does not
currently work and it is tricky to fix.



More information about the Libstdc++ mailing list