dice-hash
Hash function for stl types and container
Loading...
Searching...
No Matches
dice::hash::dice_hash_overload< Policy, T >::AlwaysFalse< typename > Struct Template Reference

Helper type. More...

#include <DiceHash.hpp>

Inheritance diagram for dice::hash::dice_hash_overload< Policy, T >::AlwaysFalse< typename >:
Inheritance graph
[legend]
Collaboration diagram for dice::hash::dice_hash_overload< Policy, T >::AlwaysFalse< typename >:
Collaboration graph
[legend]

Detailed Description

template<Policies::HashPolicy Policy, typename T>
template<typename>
struct dice::hash::dice_hash_overload< Policy, T >::AlwaysFalse< typename >

Helper type.

It is used for a static_assert. If a specific version of a template function needs to be disabled via static_assert, there can be a problem. If the evaluation does not need the type T of the template, it will always be evaluated, even if the specific function is not used/instantiated. This is a workaround. It will contain false for every type, however that is not directly knowable.


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