kblib 0.2.3
General utilities library for modern C++
kblib::fnv::fnv_prime< UInt > Struct Template Reference

The prime to use for the FNVa hash algorithm, as a type trait. More...

#include <kblib/hash.h>

Public Attributes

KBLIB_CONSTANT_M UInt value
 

Detailed Description

template<typename UInt>
struct kblib::fnv::fnv_prime< UInt >

The prime to use for the FNVa hash algorithm, as a type trait.

Definition at line 108 of file hash.h.

Member Data Documentation

◆ value

template<typename UInt >
KBLIB_CONSTANT_M UInt kblib::fnv::fnv_prime< UInt >::value
Initial value:
= (sizeof(UInt) == sizeof(std::uint64_t)
? fnv_prime<std::uint64_t>::value
: fnv_prime<std::uint32_t>::value)

Definition at line 109 of file hash.h.


The documentation for this struct was generated from the following file: