#include <stack.h>
Public Types | |
typedef Array< T >::size_type | size_type |
Public Member Functions | |
Stack (const Array< T > &stackContent) | |
bool | empty () const |
void | clear () |
void | push (const T &x) |
T & | top () |
const T & | top () const |
T | pop () |
size_type | size () const |
T & | operator[] (size_type i) |
const T & | operator[] (size_type i) const |
Variable size stack class, implemented using our Array class.