#ifndef CMSC202_LIST_H #define CMSC202_LIST_H #include class List { public: List(); ~List(); List(const List &); List & operator =(const List &); bool insert(int); void remove(); bool isEmpty(); bool isPastEnd(); void next(); void previous(); int current(); void reset(); private: int * _list; int _size, _n, _current; friend ostream & operator <<(ostream &, List &); }; ostream & operator <<(ostream & os, List & l); #endif