[#absl-btree_map-insert_or_assign-0eb]
= xref:absl.adoc[absl]::xref:absl/btree_map.adoc[btree&lowbar;map]::insert&lowbar;or&lowbar;assign
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;absl&sol;container&sol;btree&lowbar;map&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename K = key&lowbar;type,
    class M,
    int = (EnableIf&lt;LifetimeBoundKV&lt;K, false, M, false, IfRRef&lt;const int &amp;&gt;&colon;&colon;AddPtr&lt;K&gt;, IfRRef&lt;const int &amp;&gt;&colon;&colon;AddPtr&lt;M&gt;&gt;&gt;())&gt;
decltype(auto)
insert&lowbar;or&lowbar;assign(
    const&lowbar;iterator hint,
    key&lowbar;arg&lt;K&gt; const& k,
    M const& obj);
----


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