[#indirectmap-erase] = xref:indirectmap.adoc[indirectmap]::erase :relfileprefix: ../ :mrdocs: Erase the entry whose key dereferences to the given value. == Synopsis Declared in `<indirectmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:indirectmap/size_type.adoc[size_type] erase(K const& key); ---- == Return Value The number of entries removed (0 or 1). == Parameters [cols="1,4"] |=== | Name| Description | *key* | The value whose address is used as the lookup key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#