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

Create a const reference that type&hyphen;erases `nullable`&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
NullableValueConstRef(t&lowbar;NULLABLE const& nullable)
requires IsNullable&lt;t&lowbar;NULLABLE&gt;&colon;&colon;value;
----

== Description

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nullable*
| nullable value object to wrap
|===


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