[#bsl-hash_map-erase-04]
= xref:bsl.adoc[bsl]::xref:bsl/hash_map.adoc[hash&lowbar;map]::erase
:relfileprefix: ../../
:mrdocs:

Erase the element referenced by the specified iterator&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;hashmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
erase(xref:bsl/hash_map/iterator.adoc[iterator] &lowbar;&lowbar;it);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
