[#bsl-deque-0c-erase-03] = xref:bsl.adoc[bsl]::xref:bsl/deque-0c.adoc[deque]::erase :relfileprefix: ../../ :mrdocs: 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())]`. == Synopsis Declared in `<bslstl_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/deque-0c/iterator-02.adoc[deque<VALUE_TYPE, ALLOCATOR>::iterator] erase(xref:bsl/deque-0c/const_iterator.adoc[const_iterator] position); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#