BloombergLP::bdlb::ConstNullableValueRef::ConstNullableValueRef

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

Synopsis

Declared in <bdlb_nullablevalueref.h>

ConstNullableValueRef(ConstNullableValueRef const& original);

Description

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.

Parameters

NameDescription
originalwrapper whose target is shared