CommonLibVR
NiTListBase.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  template <class T>
6  class NiTListItem
7  {
8  public:
9  NiTListItem* next; // 00
10  NiTListItem* prev; // 08
11  T element; // 10
12  };
13  static_assert(sizeof(NiTListItem<void*>) == 0x18);
14 
15  template <class Allocator, class T>
17  {
18  public:
19  struct AntiBloatAllocator : public Allocator
20  {
21  // members
22  std::uint32_t size; // ??
23  };
24 
25  // members
29  };
30 }
Definition: NiTListBase.h:17
AntiBloatAllocator allocator
Definition: NiTListBase.h:28
NiTListItem< T > * head
Definition: NiTListBase.h:26
NiTListItem< T > * tail
Definition: NiTListBase.h:27
Definition: NiTListBase.h:7
NiTListItem * next
Definition: NiTListBase.h:9
T element
Definition: NiTListBase.h:11
NiTListItem * prev
Definition: NiTListBase.h:10
Definition: AbsorbEffect.h:6
Definition: NiTListBase.h:20
std::uint32_t size
Definition: NiTListBase.h:22