Template Struct hash< beluga::Numeric< T, PhantomType > >

Struct Documentation

template<typename T, typename PhantomType>
struct hash<beluga::Numeric<T, PhantomType>>

std::hash specialization for Numeric types.

Template Parameters:
  • T – Underlying type.

  • PhantomType – Phantom type.

Public Functions

inline size_t operator()(beluga::Numeric<T, PhantomType> t)

Forwards hashing to the underlying type.

Parameters:

t – Numeric instance to hash.

Returns:

size_t Hash.