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

Constructors

== Synopses

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

Create `NullableValueConstRef` object that wraps the same object as the specified `object`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-03.adoc[NullableValueConstRef](xref:BloombergLP/bdlar/NullableValueRef.adoc[NullableValueRef] const& object);
----

[.small]#xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-03.adoc[_» more&period;&period;&period;_]#

Create `NullableValueConstRef` object&period; The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-00.adoc[NullableValueConstRef](
    void const* objectAddress,
    xref:BloombergLP/bdlar/NullableValueConstVtable.adoc[NullableValueConstVtable] const* vtable);
----

[.small]#xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-00.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;NULLABLE&gt;
explicit
xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-046.adoc[NullableValueConstRef](
    t&lowbar;NULLABLE const& nullable,
    void* = 0)
requires IsNullable&lt;t&lowbar;NULLABLE&gt;&colon;&colon;value;
----

[.small]#xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-046.adoc[_» more&period;&period;&period;_]#


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