Inserts an element into the set using a position hint.
Declared in <absl/container/linked_hash_set.h>
template<
typename K = key_type,
K* = nullptr>
requires !std::is_convertible_v<key_arg<K>&&, const_iterator> &&
!std::is_convertible_v<key_arg<K>&&, iterator>
iterator
insert(
const_iterator hint,
key_arg<K>&& k);
An iterator to the inserted or existing element.
| Name | Description |
|---|---|
| hint | An iterator hint for where to insert. |
| k | The element to insert. |