[#BloombergLP-bdld-Datum-adoptMapOwningKeys]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::adoptMapOwningKeys
:relfileprefix: ../../../
:mrdocs:

DEPRECATED&colon; Use `adoptMap` instead&period;

== Synopsis

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

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

== Return Value

a datum that takes ownership of the specified `mapping`

== Parameters

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


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