[#bsl-hashtable-find_or_insert]
= xref:bsl.adoc[bsl]::xref:bsl/hashtable.adoc[hashtable]::find&lowbar;or&lowbar;insert
:relfileprefix: ../../
:mrdocs:

Return a reference to an existing element equal to `&lowbar;&lowbar;obj`, inserting `&lowbar;&lowbar;obj` if no such element exists&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hashtable/reference.adoc[reference]
find&lowbar;or&lowbar;insert(xref:bsl/hashtable/value_type.adoc[value&lowbar;type] const& &lowbar;&lowbar;obj);
----


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