[#BloombergLP-bdlb-NullableValueRef-2constructor-0d8]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableValueRef.adoc[NullableValueRef]::NullableValueRef
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a nullable wrapper that refers to the same target as `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef/2constructor-0b.adoc[NullableValueRef](xref:BloombergLP/bdlb/NullableValueRef.adoc[NullableValueRef] const& original);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Create a nullable wrapper that refers to `opt`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef/2constructor-0db.adoc[NullableValueRef](xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue&lt;TYPE&gt;]& opt);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/2constructor-0db.adoc[_» more&period;&period;&period;_]#

Create a nullable wrapper that refers to `opt`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef/2constructor-0e.adoc[NullableValueRef](xref:bsl/optional-072.adoc[bsl::optional&lt;TYPE&gt;]& opt);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/2constructor-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| wrapper whose target is shared
| *opt*
| nullable object to wrap
|===


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