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