[#bsl-hash_multimap-erase-064] = xref:bsl.adoc[bsl]::xref:bsl/hash_multimap.adoc[hash_multimap]::erase :relfileprefix: ../../ :mrdocs: Erase elements with the specified `__key` and return the count removed. == Synopsis Declared in `<bslstp_hashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_multimap/size_type.adoc[size_type] erase(xref:bsl/hash_multimap/key_type.adoc[key_type] const& __key); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#