[#BloombergLP-bslstl-HashTable-insertIfMissing-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable.adoc[HashTable]::insertIfMissing
:relfileprefix: ../../../
:mrdocs:

Insert a default&hyphen;mapped value for a movable `key` if missing&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]*
insertIfMissing(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;NonConstKeyType&gt;] key);
----

== Return Value

address of the element whose key is equivalent to `key`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| movable key used to find or insert an element
|===


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