Luna::RingDeque::front

reference front()

Gets the element at the front of the queue.

The front element is the element with index 0.

Return value

Returns one reference to the front element of the queue.

Valid Usage

  • empty must be false when calling this function.