[#bsl-hash_map-erase-04] = xref:bsl.adoc[bsl]::xref:bsl/hash_map.adoc[hash_map]::erase :relfileprefix: ../../ :mrdocs: Erase the element referenced by the specified iterator. == Synopsis Declared in `<bslstp_hashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void erase(xref:bsl/hash_map/iterator.adoc[iterator] __it); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#