Constructors
Declared in <bdlar_nullablevalueref.h>
Create NullableValueConstRef object that wraps the same object as the specified object.
NullableValueConstRef(NullableValueRef const& object);
» more...
Create a const reference that type-erases nullable.
template<class t_NULLABLE>
explicit
NullableValueConstRef(t_NULLABLE const& nullable)
requires IsNullable<t_NULLABLE>::value;
» more...
Create NullableValueConstRef object. The behaviour is undefined unless objectAddress and vtable point to the valid objects.
NullableValueConstRef(
void const* objectAddress,
NullableValueConstVtable const* vtable);
» more...
| 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 |