[#BloombergLP-bslstl-HashTable-insert-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable.adoc[HashTable]::insert
:relfileprefix: ../../../
:mrdocs:

`insert` overloads

== Synopses

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

Insert a value converted from `value` and return its node&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class SOURCE&lowbar;TYPE&gt;
xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]*
xref:BloombergLP/bslstl/HashTable/insert-0e.adoc[insert](SOURCE&lowbar;TYPE&& value);
----

[.small]#xref:BloombergLP/bslstl/HashTable/insert-0e.adoc[_» more&period;&period;&period;_]#

Insert a value converted from `value`, optionally near `hint`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class SOURCE&lowbar;TYPE&gt;
xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]*
xref:BloombergLP/bslstl/HashTable/insert-0c.adoc[insert](
    SOURCE&lowbar;TYPE&& value,
    xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]* hint);
----

[.small]#xref:BloombergLP/bslstl/HashTable/insert-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

address of the newly inserted node

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| source object converted into the inserted value
| *hint*
| optional insertion hint node
|===


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