You may assume that any necessary system header files have been included and do not need to include them. Implement the empty operation. Implement the peek operation. Implement the clear operation. Implement the destructor.
Hint there is a simple solution.
Implement the pop operation. Work on the following in class if you have time but finish them off as a homework exercise which will not be collected. Implement the overloaded assignment operator. There is a straightforward way to implement the copy constructor. Describe how this can be done without actually giving the implementation.