Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
chainbase::undo_index< T, Allocator, Indices >::old_node Struct Reference

#include <undo_index.hpp>

Inheritance diagram for chainbase::undo_index< T, Allocator, Indices >::old_node:
Collaboration diagram for chainbase::undo_index< T, Allocator, Indices >::old_node:

Public Types

using value_type = T
 
using allocator_type = Allocator
 

Public Member Functions

template<typename... A>
 old_node (const T &t)
 
- Public Member Functions inherited from chainbase::offset_node_base< Tag >
 offset_node_base ()=default
 
 offset_node_base (const offset_node_base &)
 
constexpr offset_node_baseoperator= (const offset_node_base &)
 
- Public Member Functions inherited from chainbase::value_holder< T >
template<typename... A>
 value_holder (A &&... a)
 

Public Attributes

uint64_t _mtime = 0
 
alloc_traits::pointer _current
 
- Public Attributes inherited from chainbase::offset_node_base< Tag >
std::ptrdiff_t _parent
 
std::ptrdiff_t _left
 
std::ptrdiff_t _right
 
int _color
 
- Public Attributes inherited from chainbase::value_holder< T >
T _item
 

Detailed Description

template<typename T, typename Allocator, typename... Indices>
struct chainbase::undo_index< T, Allocator, Indices >::old_node

Definition at line 274 of file undo_index.hpp.

Member Typedef Documentation

◆ allocator_type

template<typename T , typename Allocator , typename... Indices>
using chainbase::undo_index< T, Allocator, Indices >::old_node::allocator_type = Allocator

Definition at line 276 of file undo_index.hpp.

◆ value_type

template<typename T , typename Allocator , typename... Indices>
using chainbase::undo_index< T, Allocator, Indices >::old_node::value_type = T

Definition at line 275 of file undo_index.hpp.

Constructor & Destructor Documentation

◆ old_node()

template<typename T , typename Allocator , typename... Indices>
template<typename... A>
chainbase::undo_index< T, Allocator, Indices >::old_node::old_node ( const T & t)
inlineexplicit

Definition at line 278 of file undo_index.hpp.

278: value_holder<T>{t} {}

Member Data Documentation

◆ _current

template<typename T , typename Allocator , typename... Indices>
alloc_traits::pointer chainbase::undo_index< T, Allocator, Indices >::old_node::_current

Definition at line 280 of file undo_index.hpp.

◆ _mtime

template<typename T , typename Allocator , typename... Indices>
uint64_t chainbase::undo_index< T, Allocator, Indices >::old_node::_mtime = 0

Definition at line 279 of file undo_index.hpp.


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