ska::detailv3::sherwood_v3_entry< T > Struct Template Reference

Public Member Functions

 sherwood_v3_entry ()
 
 sherwood_v3_entry (int8_t distance_from_desired)
 
 ~sherwood_v3_entry ()
 
bool has_value () const
 
bool is_empty () const
 
bool is_at_desired_position () const
 
template<typename... Args>
void emplace (int8_t distance, Args &&... args)
 
void destroy_value ()
 

Static Public Member Functions

static sherwood_v3_entryempty_default_table ()
 

Public Attributes

int8_t distance_from_desired = -1
 
union {
   T   value
 
}; 
 

Static Public Attributes

static constexpr int8_t special_end_value = 0
 

Constructor & Destructor Documentation

◆ sherwood_v3_entry() [1/2]

template<typename T >
ska::detailv3::sherwood_v3_entry< T >::sherwood_v3_entry ( )
inline

◆ sherwood_v3_entry() [2/2]

template<typename T >
ska::detailv3::sherwood_v3_entry< T >::sherwood_v3_entry ( int8_t  distance_from_desired)
inline

◆ ~sherwood_v3_entry()

template<typename T >
ska::detailv3::sherwood_v3_entry< T >::~sherwood_v3_entry ( )
inline

Member Function Documentation

◆ destroy_value()

template<typename T >
void ska::detailv3::sherwood_v3_entry< T >::destroy_value ( )
inline

◆ emplace()

template<typename T >
template<typename... Args>
void ska::detailv3::sherwood_v3_entry< T >::emplace ( int8_t  distance,
Args &&...  args 
)
inline

◆ empty_default_table()

template<typename T >
static sherwood_v3_entry* ska::detailv3::sherwood_v3_entry< T >::empty_default_table ( )
inlinestatic

◆ has_value()

template<typename T >
bool ska::detailv3::sherwood_v3_entry< T >::has_value ( ) const
inline

◆ is_at_desired_position()

template<typename T >
bool ska::detailv3::sherwood_v3_entry< T >::is_at_desired_position ( ) const
inline

◆ is_empty()

template<typename T >
bool ska::detailv3::sherwood_v3_entry< T >::is_empty ( ) const
inline

Member Data Documentation

◆ @1

union { ... }

◆ distance_from_desired

template<typename T >
int8_t ska::detailv3::sherwood_v3_entry< T >::distance_from_desired = -1

◆ special_end_value

template<typename T >
constexpr int8_t ska::detailv3::sherwood_v3_entry< T >::special_end_value = 0
staticconstexpr

◆ value

template<typename T >
T ska::detailv3::sherwood_v3_entry< T >::value

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