extract overloads

Synopses

Declared in <absl/container/linked_hash_set.h>

Extracts the element at the given position as a node handle.

Extracts the element with the given key as a node handle.

template<class K = key_type>
requires !std::is_same_v<K, iterator>
node_type
extract(key_arg<K> const& key);

Return Value

  • A node handle owning the extracted element.

  • A node handle owning the extracted element, or an empty handle.

Parameters

Name

Description

position

An iterator to the element to extract.

key

The key of the element to extract.

Created with MrDocs