![]() |
pairinteraction
A Rydberg Interaction Calculator
|
Hash function. More...
#include <hash.hpp>
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.
T | type to be hashed |