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: [patch] std::string::operator[] extension in debug mode


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.


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