| 96 | // ASCII-specific tolower. The standard library's tolower is locale sensitive, |
| 97 | // so we don't want to use it here. |
| 98 | template <class Char> inline Char ToLowerASCII(Char c) { |
| 99 | return (c >= 'A' && c <= 'Z') ? (c + ('a' - 'A')) : c; |
| 100 | } |
| 101 | |
| 102 | // ASCII-specific toupper. The standard library's toupper is locale sensitive, |
| 103 | // so we don't want to use it here. |
no outgoing calls
no test coverage detected