BenchGen
BenchGen is a tool for generating benchmarks to stress-test a computing system.
|
Hash function object for a vector of Tokens. More...
#include <globalStructs.h>
Public Member Functions | |
size_t | operator() (const std::vector< Token > &t) const |
Computes the hash value for a vector of Tokens. | |
Hash function object for a vector of Tokens.
This structure provides a custom hash function for use in unordered containers such as std::unordered_map or std::unordered_set, where vectors of tokens are keys.
|
inline |
Computes the hash value for a vector of Tokens.
t | The vector of Tokens to hash. |