return std::strncmp(a, b, len);
#else
return strncmp(a, b, len);
return std::strncmp(a, b, len);
#else
return strncmp(a, b, len);
typedef string first_argument_type;
typedef string second_argument_type;
typedef bool result_type;
typedef string first_argument_type;
typedef string second_argument_type;
typedef bool result_type;
bool operator()(string const & haystack, string const & needle) const {
return contains(haystack, needle);
}
bool operator()(string const & haystack, string const & needle) const {
return contains(haystack, needle);
}
/** Search a token in this string using the delim.
Doesn't modify the original string. Returns -1 in case of
/** Search a token in this string using the delim.
Doesn't modify the original string. Returns -1 in case of