|
Binary Search Tree (C++)
|
Internal node type used by the Stack class. More...
#include <Stack.h>
Public Member Functions | |
| StackNode (Node *data) | |
| Constructs a StackNode with the specified node pointer. | |
Public Attributes | |
| Node * | data |
| StackNode * | next |
Internal node type used by the Stack class.
StackNode stores a pointer to a tree Node and a link to the next stack node. This struct is used only to implement the stack's internal linked list and does not assume ownership of the Node* it stores.
|
inline |