![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
|
constexprnoexcept |
Canonicalize any special values of the given type that compare equal, so their hashes will be equal too.
| T | Type of the value to canonicalize; SFINAE overload for floating point |
| value | Value to canonicalize |
value's equivalence class| T | Type of the value to canonicalize; SFINAE overload for non-floating point The value to canonicalize is passed as value. |
value's equivalence class
|
externconstexpr |
The FNV offset basis to use depending on bit variant.
| Scalar | the scalar type |
| Dummy | a dummy type to allow partial specialization of variable template |
The value of this constant depends on the bit length of the hash being used, determined by the type of Scalar. The value of this constant for common bit-lengths is provided by the paper "The FNV Non-Cryptographic Hash
Algorithm".
|
constexpr |
The FNV 32-bit offset basis.
| Dummy | a dummy type to allow partial specialization of variable template |
|
constexpr |
The FNV 64-bit offset basis.
| Dummy | a dummy type to allow partial specialization of variable template |
|
externconstexpr |
The FNV prime to use depending on bit variant.
| Scalar | the scalar type |
| Dummy | a dummy type to allow partial specialization of variable template |
The value of this constant depends on the bit length of the hash being used, determined by the type of Scalar. The value of this constant for common bit-lengths is provided by the paper "The FNV Non-Cryptographic Hash
Algorithm".
|
externconstexpr |
The FNV 32-bit prime.
| Dummy | a dummy type to allow partial specialization of variable template |
|
externconstexpr |
The FNV 64-bit prime.
| Dummy | a dummy type to allow partial specialization of variable template |