[#bsl-unordered_multimap-0b0-erase-0bb] = xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered_multimap]::erase :relfileprefix: ../../ :mrdocs: Remove from this unordered multimap the `value_type` objects starting at the specified `first` position up to, but not 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, and preserves the relative order of the elements not removed. The behavior is undefined unless `first` and `last` either refer to elements in this unordered multimap or are the `end` iterator, and the `first` position is at or before the `last` position in the sequence provided by this container. == Synopsis Declared in `<bslstl_unorderedmultimap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_multimap-0b0/iterator.adoc[unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::iterator] erase( xref:bsl/unordered_multimap-0b0/const_iterator.adoc[const_iterator] first, xref:bsl/unordered_multimap-0b0/const_iterator.adoc[const_iterator] last); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#