STLdoc
STLdocumentation
|
A mod range-hashing class (uses the modulo function). More...
#include <ext/pb_ds/hash_policy.hpp>
Public Types | |
typedef Size_Type | size_type |
Public Member Functions | |
void | swap (PB_DS_CLASS_C_DEC &other) |
Protected Member Functions | |
void | notify_resized (size_type size) |
size_type | operator() (size_type hash) const |
![]() | |
void | swap (mod_based_range_hashing &other) |
void | notify_resized (size_type s) |
size_type | range_hash (size_type s) const |
Private Types | |
typedef detail::mod_based_range_hashing < size_type > | mod_based_base |
Additional Inherited Members | |
![]() | |
typedef Size_Type | size_type |
A mod range-hashing class (uses the modulo function).
|
private |
typedef Size_Type __gnu_pbds::direct_mod_range_hashing< Size_Type >::size_type |
|
protected |
|
inlineprotected |
Transforms the __hash value hash into a ranged-hash value (using a modulo operation).
void __gnu_pbds::direct_mod_range_hashing< Size_Type >::swap | ( | PB_DS_CLASS_C_DEC & | other | ) |