[#absl-linked_hash_map-extract-04]
= xref:absl.adoc[absl]::xref:absl/linked_hash_map.adoc[linked&lowbar;hash&lowbar;map]::extract
:relfileprefix: ../../
:mrdocs:

Extracts the element with the given key as a node handle&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;linked&lowbar;hash&lowbar;map&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class K = xref:absl/linked_hash_map/key_type.adoc[key&lowbar;type]&gt;
requires !std&colon;&colon;is&lowbar;same&lowbar;v&lt;K, iterator&gt;
xref:absl/linked_hash_map/node_type.adoc[node&lowbar;type]
extract(xref:absl/linked_hash_map.adoc[key&lowbar;arg&lt;K&gt;] const& key);
----

== Return Value

A node handle owning the extracted element, or an empty handle if the key is not present&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| The key of the element to extract&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
