[Bug libstdc++/15276] Erroneous Comparisons of Negative Characters

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Wed May 5 18:28:00 GMT 2004


------- Additional Comments From gdr at integrable-solutions dot net  2004-05-05 18:28 -------
Subject: Re:  Erroneous Comparisons of Negative Characters

"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:

| > No, they already compare differently (hint: think of a std::string
| > that contains a null character).
| 
| I know well about *that* difference, but I'm not persuaded anyway, since the

Your question was whether I found the previous description you made
inconsistent; I was replying to that question -- which you chosed to
elide when replying.  Whether you know that difference does not make
the different behaviour more, or less, or just inconsistent.

| same inconsistency happens considering basic_string-basic_string,
| basic_string-char_array, char_array-char_array: again, the internals of

No, it does not.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15276



More information about the Gcc-bugs mailing list