[#BloombergLP-bdlb-NullableValueRef-2constructor-0db] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableValueRef.adoc[NullableValueRef]::NullableValueRef :relfileprefix: ../../../ :mrdocs: Create a nullable object wrapper that refers to the specified `opt` object. Note that the created wrapper does not own a copy of the underlying nullable value, but instead refers to it, and so the lifetime of `opt` must exceed the lifetime of the created wrapper. == Synopsis Declared in `<bdlb_nullablevalueref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- NullableValueRef(xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue<TYPE>]& opt); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#