[Scummvm-devel] Make class String case insensitive by default?

Johannes Schickel lordhoto at gmail.com
Sat Jul 22 16:23:32 CEST 2006


Max Horn wrote:

> I am wondering whether we should turn the comparison operators of  
> class String to be case insensitive by default

Sounds like a nice idea.

> Case sensitive compares could still be achieved by using plain  
> strcmp, but I figure by switching the default,

What about adding a method which let the user enable/disable case
sensitive mode? At least then we have the possibility to use case
sensitive comparisons, if it's needed.

// Johannes




More information about the Scummvm-devel mailing list