A mask range-hashing class (uses a bitmask). More...
#include <hash_policy.hpp>
Public Types | |
typedef Size_Type | size_type |
Public Member Functions | |
void | swap (direct_mask_range_hashing< Size_Type > &other) |
Protected Member Functions | |
void | notify_resized (size_type size) |
size_type | operator() (size_type hash) const |
Transforms the __hash value hash into a ranged-hash value (using a bit-mask). More... | |
size_type | range_hash (size_type hash) const |
void | swap (mask_based_range_hashing &other) |
Private Types | |
typedef detail::mask_based_range_hashing< Size_Type > | mask_based_base |
A mask range-hashing class (uses a bitmask).
|
private |
typedef Size_Type __gnu_pbds::direct_mask_range_hashing< Size_Type >::size_type |
|
protected |
|
inlineprotected |
Transforms the __hash value hash into a ranged-hash value (using a bit-mask).
|
inlineprotectedinherited |
|
inlineprotectedinherited |
References __gnu_pbds::detail::mask_based_range_hashing< Size_Type >::m_mask, and std::__exception_ptr::swap().
void __gnu_pbds::direct_mask_range_hashing< Size_Type >::swap | ( | direct_mask_range_hashing< Size_Type > & | other | ) |