[#BloombergLP-bdlb-NullableValue-2constructor-07b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue]::NullableValue
:relfileprefix: ../../../
:mrdocs:

Create a nullable object having the same value as the specified `original` object by moving the contents of `original` to the newly&hyphen;created object&period; If `TYPE` takes an optional allocator at construction, the allocator associated with `original` is propagated for use in the newly&hyphen;created object&period; `original` is left in a valid but unspecified state&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;nullablevalue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
NullableValue(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;NullableValue&gt;] original) noexcept(&sol;&ast; see-below &ast;&sol;);
----

== Exception specification

This function is potentially-throwing unless `bsl&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;constructible&lt;TYPE&gt;&colon;&colon;value`.


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