FixedRingQueueBase.push_

Pushes an element into the queue and returns a slice to that element. The value of the element must then be copied to the sliced location before the next push_() or pop_() is called.

class FixedRingQueueBase(IBaseQueue)
protected
void[]
push_
()
out (element) { assert (!element || element.length == this.element_size); }

Return Value

Type: void[]

slice to the element pushed into the queue or null if the queue is full.

Meta