feat(hash): add hash templates

This commit is contained in:
fallenoak 2020-11-15 13:20:10 -06:00
parent 399e3f02d6
commit ac1be572c4
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
7 changed files with 374 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#ifndef STORM_HASH_TS_HASH_OBJECT_HPP
#define STORM_HASH_TS_HASH_OBJECT_HPP
#include "storm/List.hpp"
#include <cstdint>
template <class T, class TKey>
class TSHashObject {
public:
// Member variables
uint32_t m_hashval;
TSLink<T> m_linktoslot;
TSLink<T> m_linktofull;
TKey m_key;
};
#endif