[#absl-linked_hash_set-extract-0ca]
= xref:absl.adoc[absl]::xref:absl/linked_hash_set.adoc[linked&lowbar;hash&lowbar;set]::extract
:relfileprefix: ../../
:mrdocs:

`extract` overloads

== Synopses

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

Extracts the element at the given position as a node handle&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/linked_hash_set/node_type.adoc[node&lowbar;type]
xref:absl/linked_hash_set/extract-0c4.adoc[extract](xref:absl/linked_hash_set/const_iterator.adoc[const&lowbar;iterator] position);
----

[.small]#xref:absl/linked_hash_set/extract-0c4.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:absl/linked_hash_set/extract-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

* A node handle owning the extracted element&period;
* A node handle owning the extracted element, or an empty handle&period;

== Parameters

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


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