HDK
|
A small class that contains a cached pointer to a LeafNode data buffer which is derived from by the internal Value Accessor Implementation. This allows for the empty base class optimization to be performed in the case where a LeafNode does not store a contiguous index-able buffer. From C++20 we can instead switch to [[no_unique_address]]. More...
#include <ValueAccessor.h>
Public Member Functions | |
const TreeTypeT::ValueType * | buffer () |
const TreeTypeT::ValueType * | buffer () const |
void | setBuffer (const typename TreeTypeT::ValueType *b) const |
Static Public Attributes | |
template<typename NodeT > | |
static constexpr bool | BypassLeafAPI |
A small class that contains a cached pointer to a LeafNode data buffer which is derived from by the internal Value Accessor Implementation. This allows for the empty base class optimization to be performed in the case where a LeafNode does not store a contiguous index-able buffer. From C++20 we can instead switch to [[no_unique_address]].
Definition at line 332 of file ValueAccessor.h.
|
inline |
Definition at line 337 of file ValueAccessor.h.
|
inline |
Definition at line 338 of file ValueAccessor.h.
|
inline |
Definition at line 339 of file ValueAccessor.h.
|
static |
Definition at line 335 of file ValueAccessor.h.