[#indirectmap-insert]
= xref:indirectmap.adoc[indirectmap]::insert
:relfileprefix: ../
:mrdocs:

Insert a key&sol;value pair, where the key is a pointer&period;

== Synopsis

Declared in `&lt;indirectmap&period;h&gt;`

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

== Return Value

A pair of an iterator to the entry and whether it was newly inserted&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The pointer&hyphen;keyed entry to insert&period;
|===


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