summaryrefslogtreecommitdiff
path: root/algo1w3/NAWLink.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-02-14 18:30:33 +0100
committerlonkaars <loek@pipeframe.xyz>2023-02-14 18:30:33 +0100
commit2bb7c5e97111c7c92dbf682ef49c54a229dfcfce (patch)
tree41ea601fd2e4b5fd136ce3f946672da4117919c0 /algo1w3/NAWLink.h
parentd50c5a1af8be6ae51fec28e8b24dfea5ca591906 (diff)
week 3 deel 1
Diffstat (limited to 'algo1w3/NAWLink.h')
-rw-r--r--algo1w3/NAWLink.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/algo1w3/NAWLink.h b/algo1w3/NAWLink.h
new file mode 100644
index 0000000..e29cfc5
--- /dev/null
+++ b/algo1w3/NAWLink.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "NAW.h"
+
+class NAWLink {
+private:
+ NAWLink();
+ NAWLink(const NAW&, NAWLink*);
+public:
+ virtual ~NAWLink();
+
+private:
+ NAWLink* next = nullptr;
+ NAW* value = nullptr;
+
+private:
+ friend class NAWLinkedList;
+};
+