42 #ifndef CCXX_OSTSTRING_H
43 #define CCXX_OSTSTRING_H
46 #ifdef CCXX_NAMESPACES
53 static bool eq(
char c1,
char c2)
54 {
return toupper(c1) == toupper(c2);};
56 static bool ne(
char c1,
char c2)
57 {
return toupper(c1) != toupper(c2);};
59 static bool lt(
char c1,
char c2)
60 {
return toupper(c1) < toupper(c2);};
62 static int compare(
const char *s1,
const char *s2,
size_t n)
68 typedef std::basic_string<char, cistring_char_traits<char> >
cistring;
70 #ifdef CCXX_NAMESPACES
Definition: oststring.h:51
std::basic_string< char, cistring_char_traits< char > > cistring
Definition: oststring.h:68
std::string_char_traits< char > cstring_char_traits
Definition: oststring.h:66
std::basic_string< char > cstring
Definition: oststring.h:67
static int compare(const char *s1, const char *s2, size_t n)
Definition: oststring.h:62
static bool lt(char c1, char c2)
Definition: oststring.h:59
static bool ne(char c1, char c2)
Definition: oststring.h:56
static bool eq(char c1, char c2)
Definition: oststring.h:53
#define strnicmp(x, y, n)
Definition: config.h:1109