absl::linked_hash_set::insert

Inserts an element into the set.

Synopsis

Declared in <absl/container/linked_hash_set.h>

template<typename K = key_type>
std::pair<iterator, bool>
insert(key_arg<K> const& k);

Return Value

A pair of an iterator to the element and a bool that is true if insertion took place.

Parameters

NameDescription
kThe element to insert.