Constructors
Declared in <bdlb_nullablevalueref.h>
Create a nullable object wrapper that refers to the target object of the specified original wrapper. Note that the created wrapper does not own a copy of the underlying nullable value, but instead refers to it, and so the lifetime of the target must exceed the lifetime of the created wrapper.
ConstNullableValueRef(ConstNullableValueRef const& original);
» more...
Create a nullable object wrapper that refers to the specified opt object. Note that the created wrapper does not own a copy of the underlying nullable value, but instead refers to it, and so the lifetime of opt must exceed the lifetime of the created wrapper.
ConstNullableValueRef(NullableAllocatedValue<TYPE> const& opt);
» more...
Create a nullable object wrapper that refers to the target object of the specified ref wrapper. Note that the created wrapper does not own a copy of the underlying nullable value, but instead refers to to it, and so the lifetime of the target must exceed the lifetime of the created wrapper.
ConstNullableValueRef(NullableValueRef<TYPE> const& ref);
» more...
Create a nullable object wrapper that refers to the specified opt object. Note that the created wrapper does not own a copy of the underlying nullable value, but instead refers to it, and so the lifetime of opt must exceed the lifetime of the created wrapper.
ConstNullableValueRef(bsl::optional<TYPE> const& opt);
» more...