9 #include <stk_util/util/ci_traits.hpp> 17 for (std::size_t i = 0; i < n; ++i)
18 if (!
eq(s1[i], s2[i]))
19 return lt(s1[i], s2[i]) ? -1 : 1;
30 for (std::size_t i = 0; i < n; ++i)
static bool lt(const char &c1, const char &c2)
Member function lt return true is c1 less than c2.
static const char * find(const char *s, std::size_t n, const char &c)
Member function find returns char pointer to first occurrence of character c in first n characters of...
static int compare(const char *s1, const char *s2, std::size_t n)
Member function compare compares up to n characters of s1 and s2 and returns -1 if s1 is less then s2...
static bool eq(const char &c1, const char &c2)
Member function eq return true is c1 and c2 are equal.