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)
63 {
return strnicmp(s1, s2, n);};
68 typedef std::basic_string<char, cistring_char_traits<char> >
cistring;
70 #ifdef CCXX_NAMESPACES
static int compare(const char *s1, const char *s2, size_t n)
static bool eq(char c1, char c2)
static bool lt(char c1, char c2)
std::basic_string< char > cstring
std::string_char_traits< char > cstring_char_traits
static bool ne(char c1, char c2)
std::basic_string< char, cistring_char_traits< char > > cistring