#ifndef PKE_MEMORY_TYPE_DEFS_HPP #define PKE_MEMORY_TYPE_DEFS_HPP #include struct PkeHandle { union { struct { uint32_t bucketIndex; uint32_t itemIndex; }; uint64_t hash = 0xFFFFFFFFFFFFFFFF; }; }; constexpr bool operator==(const PkeHandle &a, const PkeHandle &b) { return a.hash == b.hash; } struct MemBucket; #endif /* PKE_MEMORY_TYPE_DEFS_HPP */