[#absl-linked_hash_map-erase-0e] = xref:absl.adoc[absl]::xref:absl/linked_hash_map.adoc[linked_hash_map]::erase :relfileprefix: ../../ :mrdocs: Removes the element with the given key. == Synopsis Declared in `<absl/container/linked_hash_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class K = xref:absl/linked_hash_map/key_type.adoc[key_type]> xref:absl/linked_hash_map/size_type.adoc[size_type] erase(xref:absl/linked_hash_map.adoc[key_arg<K>] const& key); ---- == Return Value The number of elements removed (0 or 1). == Parameters [cols="1,4"] |=== | Name| Description | *key* | The key to erase. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#