HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
v1::wfree_unordered_map_item< K, V > Struct Template Reference

Public Member Functions

constexpr wfree_unordered_map_item (wfree_unordered_map_item const &) noexcept=delete
constexpr wfree_unordered_map_item (wfree_unordered_map_item &&) noexcept=delete
constexpr wfree_unordered_map_item & operator= (wfree_unordered_map_item const &) noexcept=delete
constexpr wfree_unordered_map_item & operator= (wfree_unordered_map_item &&) noexcept=delete

Data Fields

value
std::atomic< std::size_thash
key

Field Documentation

◆ hash

template<typename K, typename V>
std::atomic<std::size_t> v1::wfree_unordered_map_item< K, V >::hash

Hash for quick comparison and for state. Special values:

  • 0 = Empty
  • 1 = Busy
  • 2 = Tombstone

Natural hash values 0, 1, 2 must be mapped to 3, 4, 5.

◆ value

template<typename K, typename V>
V v1::wfree_unordered_map_item< K, V >::value

The value. It comes first because it is of unknown size


The documentation for this struct was generated from the following file: