Thrill  0.1
SplayTree< Key, Compare, Duplicates, Allocator >::Node Struct Reference

Detailed Description

template<typename Key, typename Compare = std::less<Key>, bool Duplicates = false, typename Allocator = std::allocator<Key>>
struct tlx::SplayTree< Key, Compare, Duplicates, Allocator >::Node

splay tree node, also seen as public iterator

Definition at line 227 of file splay_tree.hpp.

+ Collaboration diagram for SplayTree< Key, Compare, Duplicates, Allocator >::Node:

#include <splay_tree.hpp>

Public Member Functions

 Node (const Key &k)
 

Public Attributes

Key key
 
Nodeleft = nullptr
 
Noderight = nullptr
 

Constructor & Destructor Documentation

◆ Node()

Node ( const Key &  k)
inlineexplicit

Member Data Documentation

◆ key

◆ left

Node* left = nullptr

Definition at line 228 of file splay_tree.hpp.

◆ right

Node * right = nullptr

Definition at line 228 of file splay_tree.hpp.


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