Same as the preceding overload for the specified key type.
Declared in <bdlb_hashutil.h>
static
unsigned int
hash0(
signed char key,
int modulus);
modular hash value for key in [0 .. modulus)]
| Name | Description |
|---|---|
| key | value to hash |
| modulus | positive upper bound (exclusive) of the hash range |