Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Data Fields | Static Public Attributes
ska::detailv3::sherwood_v3_entry< T > Struct Template Reference

Public Member Functions

 sherwood_v3_entry (int8_t distance_from_desired)
 
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 ()
 

Data Fields

int8_t distance_from_desired = -1
 
union {
   T   value
 
}; 
 

Static Public Attributes

static constexpr int8_t special_end_value = 0
 

Detailed Description

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

Definition at line 174 of file flat_hash_map.h.


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