CoreComponents 4.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
Vector< T, G >::Leaf Class Referencefinal

#include <Vector>

Public Types

using Item = T

Public Member Functions

Item & at (unsigned egress)
const Item & at (unsigned egress) const
unsigned count () const
template<class... Args>
void emplace (unsigned egress, Args... args)
void push (unsigned egress, Item &&item)
void push (unsigned egress, const Item &item)
Item & drop (unsigned egress)
long dissipateForwardTo (Leaf *succ)
long dissipateBackwardTo (Leaf *pred)
long distributeHalfForwardTo (Leaf *succ)
long distributeQuarterForwardTo (Leaf *succ)
long distributeQuarterBackwardTo (Leaf *pred)
void adoptChildrenOfSucc (const Leaf *succ)
template<class Pattern>
std::strong_ordering operator<=> (const Pattern &pattern) const
Leaf * succ () const
Leaf * pred () const

Static Public Member Functions

static long weightAt (unsigned egress)

Detailed Description

template<class T, unsigned G = StoragePolicy<T>::Granularity>
class cc::blist::Vector< T, G >::Leaf
Todo
Add specialization for KeyValuePair which stores keys and values in separate arrays for improve memory locality?!