A mod range-hashing class (uses the modulo function).
Parameter | Description | Default Value |
Size_Type |
Size type. |
size_t |
Type | Definition | Description |
size_type |
Size_Type |
Size type. |
Method | Description |
void swap (direct_mod_range_hashing &r_other) |
Swaps content. |
Method | Description |
inline size_type operator() (size_type hash) const |
Transforms the hash value hash into a ranged-hash value (using a modulo operation). |