MCPcopy Create free account
hub / github.com/boostorg/parser / hash_combine_

Function hash_combine_

example/json.hpp:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 // Hashing.
114
115 inline std::size_t
116 hash_combine_(std::size_t seed, std::size_t value) noexcept
117 {
118 return seed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);
119 }
120
121 // Why on earth!? It turns out that Clang's unique_ptr is (at least
122 // sometimes) the size of two pointers, which is simply unreasonable.

Callers 1

hash_appendFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected