[#bsl-multimap-0ae-erase-0e] = xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::erase :relfileprefix: ../../ :mrdocs: Erase the element at `position`. == 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/iterator.adoc[iterator] position); ---- == Description Remove from this multimap the `value_type` object at the specified `position`, and return an iterator referring to the element immediately following the removed element, or to the past‐the‐end position if the removed element was the last element in the sequence of elements maintained by this multimap. == Return Value iterator to the element following the erased element == Parameters [cols="1,4"] |=== | Name| Description | *position* | iterator to the element to erase |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#