pairinteraction
A Rydberg Interaction Calculator
pairinteraction::utils::hash< T > Struct Template Reference

Hash function. More...

#include <hash.hpp>

+ Inheritance diagram for pairinteraction::utils::hash< T >:
+ Collaboration diagram for pairinteraction::utils::hash< T >:

Detailed Description

template<typename T>
struct pairinteraction::utils::hash< T >

Hash function.

The std::hash template allows specialization but only for types that are not in the standard library. This means that we cannot specialize std::hash for, e.g. std::array. To this end we define a struct hash which just inherits from std::hash by default.

Template Parameters
Ttype to be hashed

Definition at line 72 of file hash.hpp.


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