
2 Apr
2004
2 Apr
'04
6:58 p.m.
That's right. It's basic_string fault, which should've used char_traits by name in basic_string implementation.
I don't want to turn this into a std::string discussion, but if basic_string used char_traits by name, how would you define two different string types using char*, one with case-sensitive comparison and one without? With basic_string the way it is, it's possible; the way you're proposing, I don't see how to do it.
Look under "Numeric convertion lib comments" thread for more details, but short answer: don't. If you need case insensitive comparison use external predicate. No reason to change string type for that. Gennadiy.