Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Hash.h File Reference
#include <string_view>
#include <functional>

Namespaces

namespace  Crux
namespace  Crux::Hash
namespace  literals

Functions

template<class T>
constexpr unsigned long long Crux::Hash::FNV1a64 (const T &toHash)
 Computes the 64-bit FNV-1a hash of a string-like object at compile time.
constexpr unsigned long long Crux::Hash::Hash64 (unsigned long long x) noexcept
 Computes the 64-bit FNV-1a hash of an integral value. (Name change pending).
template<typename T>
constexpr void Crux::Hash::HashCombine (unsigned long long &seed, const T &v)
 Combines an existing hash seed with the hash of a value in-place.
constexpr std::uint64_t literals::operator""_h (const char *str, std::size_t len)