Erase the element at position from this deque.
Synopsis
Declared in <bslstl_deque.h>
deque<VALUE_TYPE, ALLOCATOR>::iterator
erase(const_iterator position);
Description
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())].
Return Value
iterator to the element following the erased element
Parameters
Name |
Description |
position |
iterator to the element to erase |
Created with MrDocs