(Up to Resources
: Source Code Repository : Lists)
This source file is an implementation of the Stack class.
The class is implemented with templates.
For the templated class, the elements must have the operators >,
=, and < defined.
This class has one new function:
const Elem &Peek(int Depth) const;
Given a whole number Depth, Peek()
returns the Stack element which is Depth
levels from the top. This stack element cannot be modified.
There is a default size limit of 500 elements for the stack, but
this can be overridden in the constructor call. Read the source
code for more information.