1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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; };