Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::PersistentHashMap< Key, T, Cmp >::Node Struct Reference

Polymorphic base node managed by std::shared_ptr for structural sharing. More...

Inheritance diagram for Aleph::PersistentHashMap< Key, T, Cmp >::Node:
[legend]

Public Member Functions

 Node (const NodeType t) noexcept
 
virtual ~Node ()=default
 

Public Attributes

NodeType type
 

Detailed Description

template<typename Key, typename T, class Cmp = Aleph::equal_to<Key>>
struct Aleph::PersistentHashMap< Key, T, Cmp >::Node

Polymorphic base node managed by std::shared_ptr for structural sharing.

Definition at line 143 of file tpl_persistent_hash_map.H.

Constructor & Destructor Documentation

◆ Node()

template<typename Key , typename T , class Cmp = Aleph::equal_to<Key>>
Aleph::PersistentHashMap< Key, T, Cmp >::Node::Node ( const NodeType  t)
inlineexplicitnoexcept

Definition at line 147 of file tpl_persistent_hash_map.H.

◆ ~Node()

template<typename Key , typename T , class Cmp = Aleph::equal_to<Key>>
virtual Aleph::PersistentHashMap< Key, T, Cmp >::Node::~Node ( )
virtualdefault

Member Data Documentation

◆ type

template<typename Key , typename T , class Cmp = Aleph::equal_to<Key>>
NodeType Aleph::PersistentHashMap< Key, T, Cmp >::Node::type

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