1 #ifndef UTIL_CLI_CMDOPTION_STRING_H
2 #define UTIL_CLI_CMDOPTION_STRING_H
18 template <
typename Tc>
23 static int compare(
const Tc *left,
const Tc *right,
size_t n) {
36 static const Tc *
find(
const char *s,
int n, Tc a) {
38 return n >= 0 ? s : 0;
std::basic_string< char, ci_char_traits< char > > cmd_option_ci_string
static TCH toupper(TCH c)
字符转大写
static int compare(const Tc *left, const Tc *right, size_t n)
static bool eq(Tc left, Tc right)
static const Tc * find(const char *s, int n, Tc a)
static bool lt(Tc left, Tc right)