[#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 `<bdlar_nullablevalueref.h>` Create `NullableValueConstRef` object that wraps the same object as the specified `object`. [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..._]# Create a const reference that type‐erases `nullable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_NULLABLE> explicit xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-046.adoc[NullableValueConstRef](t_NULLABLE const& nullable) requires IsNullable<t_NULLABLE>::value; ---- [.small]#xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-046.adoc[_» more..._]# Create `NullableValueConstRef` object. The behaviour is undefined unless `objectAddress` and `vtable` point to the valid objects. [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..._]# == Parameters [cols="1,4"] |=== | Name| Description | *object* | non‐const nullable‐value reference to rewrap as const | *nullable* | nullable value object to wrap | *objectAddress* | address of the nullable‐value object to wrap | *vtable* | pointer to the const vtable for the nullable‐value type |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#