libstd v0.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
Queue Struct Reference

Structure representing a generic linked-list-based Queue. More...

#include <queue.h>

Collaboration diagram for Queue:
Collaboration graph
[legend]

Public Attributes

QueueNodefront
 
QueueNodeback
 
size_t element_size
 
size_t size
 

Detailed Description

Structure representing a generic linked-list-based Queue.

Member Data Documentation

◆ back

QueueNode* Queue::back

Pointer to the back node (insertion point).

◆ element_size

size_t Queue::element_size

Memory size (in bytes) of each stored element.

◆ front

QueueNode* Queue::front

Pointer to the front node (removal point).

◆ size

size_t Queue::size

Total number of elements currently in the queue.


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