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

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Wed May 5 19:14:00 GMT 2004


------- Additional Comments From pcarlini at suse dot de  2004-05-05 19:14 -------
> I think any reasoning based on a ghost consistency with C string
> is just going to make the issue messier and more confused.

Actually, if some sort of consistency with memcmp & co, that is the C library
functions for C strings and char arrays, is not a requirement, the issue is not
messy *at all*: you just give away some performance and implement the letter of
traits::compare in Table 37.



-- 


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



More information about the Gcc-bugs mailing list