[#bsl-hash_multimap-erase-066] = xref:bsl.adoc[bsl]::xref:bsl/hash_multimap.adoc[hash_multimap]::erase :relfileprefix: ../../ :mrdocs: `erase` overloads == Synopses Declared in `<bslstp_hashmap.h>` Erase the element referenced by the specified iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/hash_multimap/erase-01.adoc[erase](xref:bsl/hash_multimap/iterator.adoc[iterator] __it); ---- [.small]#xref:bsl/hash_multimap/erase-01.adoc[_» more..._]# Erase elements with the specified `__key` and return the count removed. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multimap/size_type.adoc[size_type] xref:bsl/hash_multimap/erase-064.adoc[erase](xref:bsl/hash_multimap/key_type.adoc[key_type] const& __key); ---- [.small]#xref:bsl/hash_multimap/erase-064.adoc[_» more..._]# Erase the elements in the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/hash_multimap/erase-00.adoc[erase]( xref:bsl/hash_multimap/iterator.adoc[iterator] __f, xref:bsl/hash_multimap/iterator.adoc[iterator] __l); ---- [.small]#xref:bsl/hash_multimap/erase-00.adoc[_» more..._]# == Return Value number of elements erased == Parameters [cols="1,4"] |=== | Name| Description | *__it* | iterator referring to the element to erase | *__key* | key of elements to erase | *__f* | beginning of the erased range | *__l* | end of the erased range (exclusive) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#