stdhashT
stdhashT is a template-based hashing utility designed for use with hash-based containers and generic algorithms. It provides a function object that maps values of type T to a size_t hash value and is intended to support policy-based customization in addition to conventional hashing behavior.
Template parameters and interface: The primary template parameters are T, the value type to be hashed, and
Customization and policies: A key design goal of stdhashT is to enable customized hashing strategies through
Usage: The hasher type stdhashT<T, Policy> can be supplied to standard hash-based containers as the third template
See also: std::hash, unordered_map, unordered_set, policy-based design, hash combine.