[#BloombergLP-bdld-ManagedDatum-2constructor-08b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]::ManagedDatum
:relfileprefix: ../../../
:mrdocs:

Create a `ManagedDatum` object having the same value as the specified `original` object&period; Optionally specify an `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) used to supply memory&semi; otherwise, the default allocator is used&period; This operation performs a `clone` of the underlying `Datum`, see &lcub;Value Semantics&rcub; for more detail&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ManagedDatum(
    xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum] const& original,
    xref:BloombergLP/bdld/ManagedDatum/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----


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