FixedRingQueue.push

Pushes an element into the queue.

  1. bool push(T element)
    class FixedRingQueue(T)
    bool
    push
  2. T* push()

Parameters

element T

element to push (will be left unchanged)

Return Value

Type: bool

true on success or false if the queue is full.

Meta