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

Jonathan Wakely cow@compsoc.man.ac.uk
Fri May 20 07:28:00 GMT 2005


On Thu, May 19, 2005 at 06:05:24PM -0700, Joe Buck wrote:

> 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.

Whatever happens I'll document it in debug.html

jon



More information about the Libstdc++ mailing list