Luna::RingDeque::erase

iterator erase(const_iterator pos)

Removes one element from the queue.

Parameters

  • in pos

    The iterator to the element to be removed.

Return value

Returns one iterator to the next element after the removed element, or end() if such element does not exist.

Valid Usage

  • pos must points to a valid element in the queue.