[#BloombergLP-bdlb-NullableValue-2constructor-0cb] = 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 but using the specified `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory. The contents of `original` are moved to the newly‐created object using the extended move constructor for `TYPE`. `original` is left in a valid but unspecified state. Note that this constructor will not participate in overload resolution unless `TYPE` is allocator aware. == Synopsis Declared in `<bdlb_nullablevalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- NullableValue( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<NullableValue>] original, xref:BloombergLP/bdlb/NullableValue/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#