[#BloombergLP-bdld-Datum-adoptMap-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::adoptMap
:relfileprefix: ../../../
:mrdocs:

`adoptMap` overloads

== Synopses

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

Return a datum that takes ownership of the specified key&hyphen;owning `map`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdld/Datum.adoc[Datum]
xref:BloombergLP/bdld/Datum/adoptMap-05.adoc[adoptMap](xref:BloombergLP/bdld/DatumMutableMapOwningKeysRef.adoc[DatumMutableMapOwningKeysRef] const& map);
----

[.small]#xref:BloombergLP/bdld/Datum/adoptMap-05.adoc[_» more&period;&period;&period;_]#

Return a datum that takes ownership of the specified `map`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdld/Datum.adoc[Datum]
xref:BloombergLP/bdld/Datum/adoptMap-09.adoc[adoptMap](xref:BloombergLP/bdld/DatumMutableMapRef.adoc[DatumMutableMapRef] const& map);
----

[.small]#xref:BloombergLP/bdld/Datum/adoptMap-09.adoc[_» more&period;&period;&period;_]#

== Return Value

* a datum that takes ownership of the specified key&hyphen;owning `map`
* a datum that takes ownership of the specified `map`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *map*
| mutable key&hyphen;owning map previously created uninitialized
|===


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