41 #ifndef PB_DS_MASK_BASED_RANGE_HASHING_HPP
42 #define PB_DS_MASK_BASED_RANGE_HASHING_HPP
49 template<
typename Size_Type>
72 template<
typename Size_Type>
77 template<
typename Size_Type>
81 template<
typename Size_Type>
87 while (size ^ s_highest_bit_1)
95 while (i++ < s_num_bits_in_size_type)
96 m_mask = (m_mask << 1) ^ 1;
Size_Type size_type
Definition: mask_based_range_hashing.hpp:53
static const size_type s_num_bits_in_size_type
Definition: mask_based_range_hashing.hpp:68
static const size_type s_highest_bit_1
Definition: mask_based_range_hashing.hpp:69
size_type range_hash(size_type hash) const
Definition: mask_based_range_hashing.hpp:63
void swap(mask_based_range_hashing &other)
Definition: mask_based_range_hashing.hpp:56
Range hashing policy.
Definition: mask_based_range_hashing.hpp:50
size_type m_mask
Definition: mask_based_range_hashing.hpp:67
void notify_resized(size_type size)
Definition: mask_based_range_hashing.hpp:84
void swap(exception_ptr &__lhs, exception_ptr &__rhs)
Definition: exception_ptr.h:160