Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::PersistentVector< T >::Node Struct Reference
Collaboration diagram for Aleph::PersistentVector< T >::Node:
[legend]

Public Member Functions

 Node (const bool leaf=true) noexcept
 

Public Attributes

bool is_leaf = true
 
std::array< std::shared_ptr< const Node >, branch_factor > children {}
 
std::array< ValuePtr, branch_factor > values {}
 

Detailed Description

template<typename T>
struct Aleph::PersistentVector< T >::Node

Definition at line 102 of file tpl_persistent_vector.H.

Constructor & Destructor Documentation

◆ Node()

template<typename T >
Aleph::PersistentVector< T >::Node::Node ( const bool  leaf = true)
inlineexplicitnoexcept

Definition at line 104 of file tpl_persistent_vector.H.

Member Data Documentation

◆ children

template<typename T >
std::array<std::shared_ptr<const Node>, branch_factor> Aleph::PersistentVector< T >::Node::children {}

Definition at line 107 of file tpl_persistent_vector.H.

Referenced by Aleph::PersistentVector< T >::get_ptr().

◆ is_leaf

template<typename T >
bool Aleph::PersistentVector< T >::Node::is_leaf = true

Definition at line 106 of file tpl_persistent_vector.H.

◆ values

template<typename T >
std::array<ValuePtr, branch_factor> Aleph::PersistentVector< T >::Node::values {}

Definition at line 108 of file tpl_persistent_vector.H.

Referenced by Aleph::PersistentVector< T >::get_ptr().


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