Same as the preceding overload for the specified pointer key.

Synopsis

Declared in <bdlb_hashutil.h>

static
unsigned int
hash0(
    void const* key,
    int modulus);

Return Value

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

Parameters

Name

Description

key

pointer value to hash

modulus

positive upper bound (exclusive) of the hash range

Created with MrDocs