Zen
A cross-platform functional programming language
|
Intrinsic queue type. More...
#include <zbl.hpp>
Public Types | |
typedef listbase< queue< V > , QQueue< V >, QListIterator < V >, V > | baseT |
The base class type. | |
Public Member Functions | |
V & | head () |
Return the first item in the queue. | |
void | enque (const V &v) |
Enqueue an item on the queue. | |
V | deque () |
Dequeue a value from the queue. |
Intrinsic queue type.
V deque | ( | ) | [inline] |
Dequeue a value from the queue.
void enque | ( | const V & | v | ) | [inline] |
Enqueue an item on the queue.
v | Value to enqueue |
V& head | ( | ) | [inline] |
Return the first item in the queue.