[#bsl-hash_multiset-erase-07fb] = xref:bsl.adoc[bsl]::xref:bsl/hash_multiset.adoc[hash_multiset]::erase :relfileprefix: ../../ :mrdocs: `erase` overloads == Synopses Declared in `<bslstp_hashset.h>` Erase the element referenced by the specified `__it`. Erase the element referenced by the specified iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/hash_multiset/erase-09.adoc[erase](xref:bsl/hash_multiset/iterator.adoc[iterator] __it); ---- [.small]#xref:bsl/hash_multiset/erase-09.adoc[_» more..._]# Erase the element with the specified `__key` and return the count removed. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multiset/size_type.adoc[size_type] xref:bsl/hash_multiset/erase-07f2.adoc[erase](xref:bsl/hash_multiset/key_type.adoc[key_type] const& __key); ---- [.small]#xref:bsl/hash_multiset/erase-07f2.adoc[_» more..._]# Erase the elements in the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/hash_multiset/erase-02.adoc[erase]( xref:bsl/hash_multiset/iterator.adoc[iterator] __f, xref:bsl/hash_multiset/iterator.adoc[iterator] __l); ---- [.small]#xref:bsl/hash_multiset/erase-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#