Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 293 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 293 Bytes

wlib-queue

Lightweight static queue implementation.

Usage

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.