Template Struct hash< beluga::Numeric< T, PhantomType > >
Defined in File strongly_typed_numeric.hpp
Struct Documentation
-
template<typename T, typename PhantomType>
struct hash<beluga::Numeric<T, PhantomType>> std::hash
specialization forNumeric
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.