#include <AllocStack.h>
Public Member Functions | |
| void | push (T *x) |
| Add an item to the stack. | |
| void | pop () |
| Pop the item on the stack top. | |
| T * | top () const |
| Return the item on the stack top. | |
| ~CAllocStack () | |
| Destroy all objects on the stack. | |
| bool | empty () |
| Check if the stack is empty. | |
|
|||||||||
|
Check if the stack is empty.
|
|
||||||||||
|
Add an item to the stack.
|
|
|||||||||
|
Return the item on the stack top.
|
1.3.9.1