Iros
 
Loading...
Searching...
No Matches
list_node.h
Go to the documentation of this file.
1#pragma once
2
5#include "di/util/immovable.h"
6
7namespace di::container {
8template<typename Tag>
10public:
11 constexpr IntrusiveListNode() : next(nullptr), prev(nullptr) {}
12
13private:
14 template<typename, typename, typename>
15 friend class IntrusiveList;
16
17 constexpr IntrusiveListNode(IntrusiveListNode* next_, IntrusiveListNode* prev_) : next(next_), prev(prev_) {}
18
19 IntrusiveListNode* next { nullptr };
20 IntrusiveListNode* prev { nullptr };
21};
22}
23
24namespace di {
26}
Definition list_node.h:9
constexpr IntrusiveListNode()
Definition list_node.h:11
friend class IntrusiveList
Definition list_node.h:15
Definition sequence.h:12
constexpr auto next
Definition next.h:35
Definition zstring_parser.h:9
constexpr auto prev
Definition prev.h:28
Definition immovable.h:4