Empty base class for hashing. No general hash struct defined, each type requires a specialization. Leaving this struct declared but undefined will generate error messages that are more clear when someone tries to use a key that does not have a corresponding hash function.
Declared in <bslstp_hash.h>
template<class HASH_KEY>
struct Hash;
| Name | Description |
|---|---|
Hash<char> | Specialization of Hash for char values. |
Hash<int> | Specialization of Hash for int values. |
Hash<long> | Specialization of Hash for long values. |
Hash<long long> | Specialization of Hash for long long values. |
Hash<short> | Specialization of Hash for short values. |
Hash<signed char> | Specialization of Hash for signed char values. |
Hash<unsigned char> | Specialization of Hash for unsigned char values. |
Hash<unsigned int> | Specialization of Hash for unsigned int values. |
Hash<unsigned long> | Specialization of Hash for unsigned long values. |
Hash<unsigned long long> | Specialization of Hash for unsigned long long values. |
Hash<unsigned short> | Specialization of Hash for unsigned short values. |