This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15276] Erroneous Comparisons of Negative Characters
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2004 12:05:16 -0000
- Subject: [Bug libstdc++/15276] Erroneous Comparisons of Negative Characters
- References: <20040504045136.15276.mckelvey@maskull.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-05-05 12:05 -------
> Secondly, assuming a std::string was supposed to be a typedef-name for
> a C-string, we would not have had a c_str() in the first place.
Honestly, I don't understand why you are insisting on this 'typedef-name'
thing, that nobody has mentioned before. Are you referring to a previous
discussion?
> Sure, it is hard to second guess what the committee intended -- a
> truism -- specifically when one does not want to believe what it wrote.
However, apparently, all the major implementations in the world are so
"perverse" to second guess like this... Do you really consider wise for v3
to diverge on this issue?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15276