[#absl-linked_hash_set-extract-0ca] = xref:absl.adoc[absl]::xref:absl/linked_hash_set.adoc[linked_hash_set]::extract :relfileprefix: ../../ :mrdocs: `extract` overloads == Synopses Declared in `<absl/container/linked_hash_set.h>` Extracts the element at the given position as a node handle. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/linked_hash_set/node_type.adoc[node_type] xref:absl/linked_hash_set/extract-0c4.adoc[extract](xref:absl/linked_hash_set/const_iterator.adoc[const_iterator] position); ---- [.small]#xref:absl/linked_hash_set/extract-0c4.adoc[_» more..._]# Extracts the element with the given key as a node handle. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class K = xref:absl/linked_hash_set/key_type.adoc[key_type]> requires !std::is_same_v<K, iterator> xref:absl/linked_hash_set/node_type.adoc[node_type] xref:absl/linked_hash_set/extract-0b.adoc[extract](xref:absl/linked_hash_set.adoc[key_arg<K>] const& key); ---- [.small]#xref:absl/linked_hash_set/extract-0b.adoc[_» more..._]# == Return Value * A node handle owning the extracted element. * A node handle owning the extracted element, or an empty handle. == Parameters [cols="1,4"] |=== | Name| Description | *position* | An iterator to the element to extract. | *key* | The key of the element to extract. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#