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

Specialize for T to disable the use of std::hash for Digest<T>. More...

#include <geomc/Hash.h>

Inheritance diagram for disable_std_hash_fallback< T >:

Detailed Description

template<typename T>
struct geom::disable_std_hash_fallback< T >

Specialize for T to disable the use of std::hash for Digest<T>.

This can be used to disambiguate specializations of Digest with certain templated custom types. (Most templates will not be ambiguous).

Example usage:

template <>
struct geom::disable_std_hash_fallback<MyType> : std::true_type {};

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