#include <Stack.h>
Public Member Functions | |
Stack () | |
void | push (T t) |
T | pop () |
T | peek () const |
int | empty () const |
Private Attributes | |
Array< T > | _data |
int | _top |
void Stack< T >::push | ( | T | t | ) | [inline] |
T Stack< T >::pop | ( | ) | [inline] |
T Stack< T >::peek | ( | ) | const [inline] |
int Stack< T >::empty | ( | ) | const [inline] |