#ifndef LIST_T #define LIST_T struct NodeT; class ListT{ public: ListT(); ListT(const ListT & other); ~ListT(); ListT & operator =(const ListT & other); bool IsEmpty(void) const; bool IsFull(void) const; size_t Length(void) const; bool IsPresent(int key) const; void Delete(int key); void Insert(int key); void Reset(void); bool HasNext(void) const; void Next(void); int GetItem(void) const; private: NodeT * Find(int key) const; size_t size; NodeT * head = nullptr; NodeT * current = nullptr; }; #endif