Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
provides_BoostHashFunction< TY > Class Template Reference

#include "lib/hash-standard.hpp"

Description

template<typename TY>
class lib::meta::provides_BoostHashFunction< TY >

trait template to detect if some custom type TY provides a boost compliant hash function through ADL

Definition at line 85 of file hash-standard.hpp.

Public Types

enum  { value = (sizeof(HasUsableHashDefinition) == sizeof(hash_value(unusedDummy))) }
 

Private Attributes

TY constunusedDummy = *(TY*)nullptr
 

Member Enumeration Documentation

◆ anonymous enum

template<typename TY >
anonymous enum
Enumerator
value 

Definition at line 90 of file hash-standard.hpp.

Member Data Documentation

◆ unusedDummy

template<typename TY >
TY const& unusedDummy = *(TY*)nullptr
private

Definition at line 87 of file hash-standard.hpp.

+ Collaboration diagram for provides_BoostHashFunction< TY >:

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