[#bsl-multimap-0ae-erase-04] = xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::erase :relfileprefix: ../../ :mrdocs: Remove from this multimap the `value_type` objects starting at the specified `first` position up to, but including the specified `last` position, and return `last`. This method invalidates only iterators and references to the removed element and previously saved values of the `end()` iterator. The behavior is undefined unless `first` and `last` either refer to elements in this multimap or are the `end` iterator, and the `first` position is at or before the `last` position in the ordered sequence provided by this container. == Synopsis Declared in `<bslstl_multimap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/multimap-0ae/iterator.adoc[multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::iterator] erase( xref:bsl/multimap-0ae/const_iterator.adoc[const_iterator] first, xref:bsl/multimap-0ae/const_iterator.adoc[const_iterator] last); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#