| 182 | |
| 183 | |
| 184 | struct CaseInsensitiveHash |
| 185 | { |
| 186 | size_t operator()(const std::string& key) const |
| 187 | { |
| 188 | size_t seed = 0; |
| 189 | foreach (char c, key) { |
| 190 | boost::hash_combine(seed, ::tolower(c)); |
| 191 | } |
| 192 | return seed; |
| 193 | } |
| 194 | }; |
| 195 | |
| 196 | |
| 197 | struct CaseInsensitiveEqual |
nothing calls this directly
no outgoing calls
no test coverage detected