Lab 09: Hint isFull()
The stub of isFull()
should look like this:
bool Stack::isFull() const {
}
The isFull()
method should return true when mySize
equals myCapacity
, and return false otherwise. How can you write this in a single line?
Warning - this is not the newest version of this course!