[#bsl-hashtable-erase-09] = xref:bsl.adoc[bsl]::xref:bsl/hashtable.adoc[hashtable]::erase :relfileprefix: ../../ :mrdocs: `erase` overloads == Synopses Declared in `<bslstp_hashtable.h>` Erase the element referenced by the specified `__it`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/hashtable/erase-08.adoc[erase](xref:bsl/hashtable/const_iterator.adoc[const_iterator] const& __it); ---- [.small]#xref:bsl/hashtable/erase-08.adoc[_» more..._]# Erase elements matching the specified key and return the count removed. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hashtable/size_type.adoc[size_type] xref:bsl/hashtable/erase-0c.adoc[erase](xref:bsl/hashtable/key_type.adoc[key_type] const& __key); ---- [.small]#xref:bsl/hashtable/erase-0c.adoc[_» more..._]# Erase the elements in the specified iterator range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/hashtable/erase-00.adoc[erase]( xref:bsl/hashtable/const_iterator.adoc[const_iterator] __first, xref:bsl/hashtable/const_iterator.adoc[const_iterator] __last); ---- [.small]#xref:bsl/hashtable/erase-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#