1 #ifndef CASEINSENSITIVECOMPARER 2 #define CASEINSENSITIVECOMPARER 17 static constexpr
unsigned char toLower(
const unsigned char c)
19 return (c >=
'A' && c <=
'Z') ? (c + (
'a' -
'A')) : c;
22 bool operator()(
const unsigned char lhs,
const unsigned char rhs)
const 24 return toLower(lhs) < toLower(rhs);
33 bool operator()(
const std::string &lhs,
const std::string &rhs)
const 41 #endif // CASEINSENSITIVECOMPARER
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.