BloombergLP::bdlb::ConstNullableValueRef::ConstNullableValueRef

Constructors

Synopses

Declared in <bdlb_nullablevalueref.h>

Create a nullable wrapper that refers to the same target as original.

ConstNullableValueRef(ConstNullableValueRef const& original);
» more...

Create a nullable wrapper that refers to opt.

ConstNullableValueRef(NullableAllocatedValue<TYPE> const& opt);
» more...

Create a nullable wrapper that refers to the same target as ref.

ConstNullableValueRef(NullableValueRef<TYPE> const& ref);
» more...

Create a nullable wrapper that refers to opt.

ConstNullableValueRef(bsl::optional<TYPE> const& opt);
» more...

Parameters

NameDescription
originalwrapper whose target is shared
optnullable object to wrap
refwrapper whose target is shared