[#BloombergLP-bdlb-HashUtil-hash0-0b3]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/HashUtil.adoc[HashUtil]::hash0
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload for the specified `key` type&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;hashutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
unsigned int
hash0(
    unsigned long key,
    int modulus);
----

== Return Value

modular hash value for `key` in `&lsqb;0 &period;&period; modulus)&rsqb;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| value to hash
| *modulus*
| positive upper bound (exclusive) of the hash range
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
