[#bsl-map-0af-erase-0b] = xref:bsl.adoc[bsl]::xref:bsl/map-0af.adoc[map<TimeInterval, Node*>]::erase :relfileprefix: ../../ :mrdocs: Remove from this map the `value_type` object whose key is equivalent the specified `key`, if such an entry exists, and return 1; otherwise, if there is no `value_type` object having an equivalent key, return 0 with no other effect. This method invalidates only iterators and references to the removed element and previously saved values of the `end()` iterator. == Synopsis Declared in `<bslstl_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/map-0af/size_type.adoc[size_type] erase(xref:bsl/map-0af/key_type.adoc[key_type] const& key); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#