[#BloombergLP-bdlar-NullableValueRef-2constructor-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/NullableValueRef.adoc[NullableValueRef]::NullableValueRef
:relfileprefix: ../../../
:mrdocs:

Create `NullableValueRef` object that type erases the supplied `nullable` object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;NULLABLE&gt;
explicit
NullableValueRef(
    t&lowbar;NULLABLE& nullable,
    void* = 0)
requires IsNullable&lt;t&lowbar;NULLABLE&gt;&colon;&colon;value;
----


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