tmp
This commit is contained in:
parent
93b02416de
commit
1f1dc001a1
8 changed files with 124 additions and 60 deletions
|
|
@ -18,7 +18,7 @@ namespace tp {
|
|||
Type data;
|
||||
Node* next = nullptr;
|
||||
Node* prev = nullptr;
|
||||
Node() = default;
|
||||
Node() { data = Type(); }
|
||||
explicit Node(TypeArg p_data) :
|
||||
data(p_data) {}
|
||||
Type& operator->() { return data; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue