class rgpot::cache::KeyHash¶
Overview¶
Struct to hold the hash and string key for caching. More…
#includeclass KeyHash { public: // fields size_t hash; std::string key; // construction KeyHash(size_t _hash); };
Detailed Documentation¶
Struct to hold the hash and string key for caching.
Fields¶
size_t hash
The numeric hash value.
std::string key
The string representation of the hash.
Construction¶
KeyHash(size_t _hash)
Constructor for KeyHash.
Parameters:
_hash |
The numeric hash to wrap. |