This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/43634] std::string::replace with C string can replace too many characters
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Apr 2010 20:14:14 -0000
- Subject: [Bug libstdc++/43634] std::string::replace with C string can replace too many characters
- References: <bug-43634-17772@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from rguenth at gcc dot gnu dot org 2010-04-03 20:14 -------
(In reply to comment #8)
> That @n is definitely a pasto: there is no n among the parameters. And the
> semantics definitely boils down to taking the whole C string. Understand that
> often the documentation is not written by the same people maintaining the code,
> unfortunately. Anyway, I'll fix it as soon as mainline unfreezes. Thanks for
> pointing it out.
You can fix documentation now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43634