| 195 | |
| 196 | |
| 197 | struct CaseInsensitiveEqual |
| 198 | { |
| 199 | bool operator()(const std::string& left, const std::string& right) const |
| 200 | { |
| 201 | if (left.size() != right.size()) { |
| 202 | return false; |
| 203 | } |
| 204 | for (size_t i = 0; i < left.size(); ++i) { |
| 205 | if (::tolower(left[i]) != ::tolower(right[i])) { |
| 206 | return false; |
| 207 | } |
| 208 | } |
| 209 | return true; |
| 210 | } |
| 211 | }; |
| 212 | |
| 213 | |
| 214 | struct Status |
nothing calls this directly
no outgoing calls
no test coverage detected