[#BloombergLP-bdlcc-StripedUnorderedMap-erase] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMap.adoc[StripedUnorderedMap]::erase :relfileprefix: ../../../ :mrdocs: Erase the element having the specified `key`. == Synopsis Declared in `<bdlcc_stripedunorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t erase(KEY const& key); ---- == Description Return 1 on success and 0 if `key` does not exist. Note that the returned value equals the number of elements removed. == Return Value 1 on success, and 0 if `key` does not exist == Parameters [cols="1,4"] |=== | Name| Description | *key* | key of the element to erase |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#