3
* Case-insensitive string
12
//bool ci_equal (char ch1, char ch2);
13
//bool ci_less_eq (char ch1, char ch2);
14
//bool ci_less (char ch1, char ch2);
15
//size_t ci_find (const std::string &str1, const std::string &str2);
16
//size_t ci_diff (const std::string &str1, const std::string &str2);
17
//bool cis_equal (const std::string &str1, const std::string &str2);
18
//bool cis_less_eq (const std::string &str1, const std::string &str2);
19
//bool cis_less (const std::string &str1, const std::string &str2);
21
bool c_equal_i (char ch1, char ch2);
22
size_t ci_find (const std::string &str1, const std::string &str2);
23
bool ci_equal (const std::string &str1, const std::string &str2);
24
bool ci_less_eq (const std::string &str1, const std::string &str2);
25
bool ci_less (const std::string &str1, const std::string &str2);
26
bool ci_notequal (const std::string &str1, const std::string &str2);
27
bool ci_gt_eq (const std::string &str1, const std::string &str2);
28
bool ci_gt (const std::string &str1, const std::string &str2);
32
bool operator() (const std::string &str1, const std::string &str2)
33
{ return ci_equal (str1, str2); }
38
bool operator() (const std::string &str1, const std::string &str2)
39
{ return ci_less_eq (str1, str2); }
44
bool operator() (const std::string &str1, const std::string &str2)
46
return ci_less (str1, str2);
50
extern CI_EQUAL ci_equal_obj;
51
extern CI_LESS ci_less_obj;
52
extern CI_LESS_EQ ci_less_eq_obj;