extract overloads
Synopses
Declared in <absl/container/linked_hash_map.h>
Extracts the element at the given position as a node handle.
node_type
extract(const_iterator position);
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 if the key is not present.
Parameters
Name |
Description |
position |
An iterator to the element to extract. |
key |
The key of the element to extract. |
Created with MrDocs