// // IntList class // class IntList { public: IntList(); IntList( const IntList& other ); ~IntList(); IntList& operator=( const IntList& rhs ); int pop(); bool empty() const; int top() const; void push( int val ); int & operator[]( int index ); void appendCopyAtEnd( const IntList& other ); };