Hash Utils#

namespace trt_edgellm
namespace hash_utils#

Functions

template<typename T>
inline void hashCombine(
size_t &seed,
T const &value
)#

Combine hash values using boost-style hash combination.

Combines a hash seed with the hash of a new value using the boost hash_combine algorithm. Useful for creating composite hash values.

Template Parameters:

T – Type of value to hash

Parameters:
  • seed – Hash seed to combine with (modified in-place)

  • value – Value to hash and combine