osurs  0.0.1
Data Fields
Stack Struct Reference

Stack. More...

#include <stack.h>

Collaboration diagram for Stack:
Collaboration graph
[legend]

Data Fields

StackNodetop
 
size_t size
 

Detailed Description

Stack.

This structure represents a Stack data structure. It consists of a pointer to the top of the stack (the node at the top of the stack) and an integer size representing the number of elements in the stack.

Field Documentation

◆ size

size_t Stack::size

Number of elements in the stack.

◆ top

StackNode* Stack::top

Pointer to the top of the stack.


The documentation for this struct was generated from the following file: