5 #include <unordered_map>
7 #include "crow/utility.h"
14 size_t operator()(
const std::string_view key)
const
20 hash_combine(seed, std::toupper(c, locale));
26 static inline void hash_combine(std::size_t& seed,
char v)
28 std::hash<char> hasher;
29 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
36 bool operator()(
const std::string_view l,
const std::string_view r)
const
38 return utility::string_equals(l, r);
42 using ci_map = std::unordered_multimap<std::string, std::string, ci_hash, ci_key_eq>;
The main namespace of the library. In this namespace is defined the most important classes and functi...
Hashing function for ci_map (unordered_multimap).
Definition: ci_map.h:13
Equals function for ci_map (unordered_multimap).
Definition: ci_map.h:35