Constructors
Synopses
Declared in <bdlb_nullablevalueref.h>
Create a nullable wrapper that refers to the same target as original.
ConstNullableValueRef(ConstNullableValueRef const& original);
Create a nullable wrapper that refers to opt.
ConstNullableValueRef(NullableAllocatedValue<TYPE> const& opt);
Create a nullable wrapper that refers to the same target as ref.
ConstNullableValueRef(NullableValueRef<TYPE> const& ref);
Create a nullable wrapper that refers to opt.
ConstNullableValueRef(bsl::optional<TYPE> const& opt);
Parameters
Name |
Description |
original |
wrapper whose target is shared |
opt |
nullable object to wrap |
ref |
wrapper whose target is shared |
Created with MrDocs