// MyList.h #ifndef MYLIST_H #define MYLIST_H #include "ListElement.h" class MyList { private: ListElement* head; ListElement* deepCopy(ListElement*); // funzione utilità void del(ListElement*); // funzione utilità public: MyList(); ~MyList(); // distruttore MyList( const MyList & ); // costruttore di copia!! void operator=(const MyList &); // overloading operatore = void insert(int); int pop(); void print(); }; #endif