[#bsl-hash_set-erase-0b]
= xref:bsl.adoc[bsl]::xref:bsl/hash_set.adoc[hash&lowbar;set]::erase
:relfileprefix: ../../
:mrdocs:

Erase the elements in the specified iterator range&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;f*
| beginning of the erased range
| *&lowbar;&lowbar;l*
| end of the erased range (exclusive)
|===


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