template<typename ValueType, unsigned int NeighborhoodSize, bool StoreHash>
class tsl::detail_hopscotch_hash::hopscotch_bucket< ValueType, NeighborhoodSize, StoreHash >
Definition at line 406 of file hopscotch_hash.h.
|
using | value_type = ValueType |
|
using | neighborhood_bitmap = typename smallest_type_for_min_bits< NeighborhoodSize+NB_RESERVED_BITS_IN_NEIGHBORHOOD >::type |
|
using | hash_type = std::false_type |
|
|
| hopscotch_bucket (const hopscotch_bucket &bucket) noexcept(std::is_nothrow_copy_constructible< value_type >::value) |
|
| hopscotch_bucket (hopscotch_bucket &&bucket) noexcept(std::is_nothrow_move_constructible< value_type >::value) |
|
hopscotch_bucket & | operator= (const hopscotch_bucket &bucket) noexcept(std::is_nothrow_copy_constructible< value_type >::value) |
|
hopscotch_bucket & | operator= (hopscotch_bucket &&)=delete |
|
neighborhood_bitmap | neighborhood_infos () const noexcept |
|
void | set_overflow (bool has_overflow) noexcept |
|
bool | has_overflow () const noexcept |
|
bool | empty () const noexcept |
|
void | toggle_neighbor_presence (std::size_t ineighbor) noexcept |
|
bool | check_neighbor_presence (std::size_t ineighbor) const noexcept |
|
value_type & | value () noexcept |
|
const value_type & | value () const noexcept |
|
template<typename P > |
void | set_value_of_empty_bucket (P &&value, std::size_t hash) |
|
void | swap_value_into_empty_bucket (hopscotch_bucket &empty_bucket) |
|
void | remove_value () noexcept |
|
void | clear () noexcept |
|
bool | bucket_hash_equal (std::size_t) const noexcept |
|
std::size_t | truncated_bucket_hash () const noexcept |
|
|
static std::size_t | max_size () noexcept |
|
|
using | bucket_hash = hopscotch_bucket_hash< StoreHash > |
|
using | storage = typename std::aligned_storage< sizeof(value_type), alignof(value_type)>::type |
|
|
void | set_empty (bool is_empty) noexcept |
|
void | destroy_value () noexcept |
|
|
neighborhood_bitmap | m_neighborhood_infos |
|
storage | m_value |
|
|
static const size_t | MIN_NEIGHBORHOOD_SIZE = 4 |
|
static const size_t | MAX_NEIGHBORHOOD_SIZE = SMALLEST_TYPE_MAX_BITS_SUPPORTED - NB_RESERVED_BITS_IN_NEIGHBORHOOD |
|
The documentation for this class was generated from the following file: