Private
Optional
_capacityPrivate
_queueMaximum capacity for the queue, if not set queue has unlimited capacity
Set a maximum capacity for the queue, if you push new value exceding this capacity the firsts are removed (FIFO) if set to undefined the queue is unlimited
Number of element in the queue
Queue typed similar to a std::queue with possibility to limit the capacity like a FIFO
Example