|
libstdc++
|
#include <hash_policy.hpp>
Public Types | |
| typedef Size_Type | size_type |
Public Member Functions | |
| void | swap (direct_mod_range_hashing< Size_Type > &other) |
Protected Member Functions | |
| void | notify_resized (size_type size) |
| size_type | operator() (size_type hash) const |
| size_type | range_hash (size_type s) const |
| void | swap (mod_based_range_hashing &other) |
A mod range-hashing class (uses the modulo function).
Definition at line 141 of file hash_policy.hpp.
| typedef Size_Type __gnu_pbds::direct_mod_range_hashing< Size_Type >::size_type |
Definition at line 145 of file hash_policy.hpp.
|
inlineprotected |
Transforms the __hash value hash into a ranged-hash value (using a modulo operation).
|
inlineprotectedinherited |
Definition at line 64 of file mod_based_range_hashing.hpp.
|
inlineprotectedinherited |
Definition at line 56 of file mod_based_range_hashing.hpp.