[#absl-linked_hash_set-insert-0fe] = xref:absl.adoc[absl]::xref:absl/linked_hash_set.adoc[linked_hash_set]::insert :relfileprefix: ../../ :mrdocs: Inserts an element into the set. == Synopsis Declared in `<absl/container/linked_hash_set.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename K = xref:absl/linked_hash_set/key_type.adoc[key_type], K* = nullptr> std::pair<iterator, bool> insert(xref:absl/linked_hash_set.adoc[key_arg<K>]&& k); ---- == Return Value A pair of an iterator to the element and a bool that is `true` if insertion took place. == Parameters [cols="1,4"] |=== | Name| Description | *k* | The element to insert. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#