[#bsl-unordered_set-0d2d-insert-01] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::insert :relfileprefix: ../../ :mrdocs: Insert the specified `value` into this set if a key equivalent to `value` does not already exist in this set; otherwise, if a key equivalent to `value` already exists in this set, this method has no effect. Return a pair whose `first` member is an iterator referring to the (possibly newly inserted) `value_type` object in this set that is equivalent to `value`, and whose `second` member is `true` if a new value was inserted, and `false` if the key was already present. This method requires that the (template parameter) type `KEY` be `copy‐insertable` (see {Requirements on `KEY`}). == Synopsis Declared in `<bslstl_unorderedset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/pair-0b.adoc[bsl::pair<unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::iterator, bool>] insert(xref:bsl/unordered_set-0d2d/value_type.adoc[value_type] const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#