Luna::RingDeque::back

reference back()

Gets the element at the back of the queue.

The back element is the element with index size() - 1.

Return value

Returns one reference to the back element of the queue.

Valid Usage

  • empty must be false when calling this function.