Lightweight static queue implementation.
wio install wlib-queue
And in code
wlp::queue<int, 32> intQueue;
intQueue.enqueue(25);
int front = intQueue.peek();
intQueue.dequeue();
Calling peek
on an empty queue will return
an erroneous value.
Lightweight static queue implementation
Lightweight static queue implementation.
wio install wlib-queue
And in code
wlp::queue<int, 32> intQueue;
intQueue.enqueue(25);
int front = intQueue.peek();
intQueue.dequeue();
Calling peek
on an empty queue will return
an erroneous value.
Lightweight static queue implementation