Same as the preceding overload for the specified key type.

Synopsis

Declared in <bdlb_hashutil.h>

static
unsigned int
hash0(
    signed char key,
    int modulus);

Return Value

modular hash value for key in [0 .. modulus)]

Parameters

Name

Description

key

value to hash

modulus

positive upper bound (exclusive) of the hash range

Created with MrDocs