Luna::RingDeque::front

const_reference front() const

Gets the element at the front of the queue.

The front element is the element with index 0.

Return value

Returns one constant reference to the front element of the queue.

Valid Usage

  • empty must be false when calling this function.