[#bsl-hash_set-insert_noresize]
= xref:bsl.adoc[bsl]::xref:bsl/hash_set.adoc[hash&lowbar;set]::insert&lowbar;noresize
:relfileprefix: ../../
:mrdocs:

Insert the specified `&lowbar;&lowbar;obj` if no equivalent element exists&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;hashset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/pair-0b.adoc[pair&lt;iterator, bool&gt;]
insert&lowbar;noresize(xref:bsl/hash_set/value_type.adoc[value&lowbar;type] const& &lowbar;&lowbar;obj);
----

== Return Value

pair of an iterator to the element and whether insertion occurred

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;obj*
| value to insert
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
