This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

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


------- Additional Comments From pcarlini at suse dot de  2004-05-05 17:35 -------
> 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
same inconsistency happens considering basic_string-basic_string,
basic_string-char_array, char_array-char_array: again, the internals of
the two corresponding string::compare overloads would compare signed, memcmp
unsigned.



-- 


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


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