MCPcopy Create free account
hub / github.com/3rdparty/libprocess / CaseInsensitiveHash

Class CaseInsensitiveHash

include/process/http.hpp:184–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183
184struct 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
197struct CaseInsensitiveEqual

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected