geomc 1.0
A c++ linear algebra template library
Loading...
Searching...
No Matches
Digest< T, H > Struct Template Reference

Partially-specializable hash function object for arbitrary object and hash types. More...

#include <geomc/Hash.h>

Detailed Description

template<typename T, typename H = std::size_t>
struct geom::Digest< T, H >

Partially-specializable hash function object for arbitrary object and hash types.

To enable hashing of a custom type, specialize this template for that type. In general it is good to hash with a type-specific nonce so that distinct types that have the same member data do not collide.


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