Erase the element at position from this deque.
Declared in <bslstl_deque.h>
deque<VALUE_TYPE, ALLOCATOR>::iterator
erase(const_iterator position);
Remove from this deque the element at the specified position, and return an iterator providing modifiable access to the element immediately following the removed element, or the position returned by the method end if the removed element was the last in the sequence. The behavior is undefined unless position is an iterator in the range [cbegin() .. cend())].
iterator to the element following the erased element
| Name | Description |
|---|---|
| position | iterator to the element to erase |