23 return *a == 0 && *b == 0;
27 std::string::const_iterator bi = b.begin();
32 return *a == 0 && bi == b.end();
36 std::string::const_iterator ai = a.begin();
41 return ai == a.end() && *b != 0;
44 bool equal_icase(
const std::string& a,
const std::string& b) {
45 if (a.size() != b.size())
return false;
48 a.begin(), a.end(), b.begin(),
bool equal_icase(const char *a, const char *b)
returns true if a == b without regard for letter case
char to_lower(char ch)
Transform the given character to lower case without any localization.