|
Lamp-Da 0.1
A compact lantern project
|
Classes | |
| struct | Element |
| struct | Optional |
| We need a fake optional, has the core is compiled in C++11. More... | |
Public Member Functions | |
| bool | has_elements () const |
| bool | enqueue (const T &element) |
| Add an element to the queue. | |
| Optional | dequeue () |
| Remove and return the first element from the queue, or nothing. | |
|
inline |
Add an element to the queue.