3 #ifndef VISR_DETAIL_COMPILE_TIME_HASH_FNV1_HPP_INCLUDED 4 #define VISR_DETAIL_COMPILE_TIME_HASH_FNV1_HPP_INCLUDED 15 constexpr uint64_t
fnv1( uint64_t h,
const char* s );
29 throw std::logic_error(
"FNV1 hash failed.");
35 constexpr uint64_t
fnv1( uint64_t h,
const char* s )
40 #pragma warning( disable : 4307) 42 return (*s == 0) ? h :
43 fnv1( static_cast<uint64_t>(h * 1099511628211ull) ^
54 #endif // #ifndef VISR_DETAIL_COMPILE_TIME_HASH_FNV1_HPP_INCLUDED constexpr uint64_t compileTimeHashFNV1(const char *s)
Definition: compile_time_hash_fnv1.hpp:25
constexpr uint64_t fnv1(uint64_t h, const char *s)
Definition: compile_time_hash_fnv1.hpp:35
Definition: options.cpp:10