Create a nullable wrapper that refers to the same target as original.
Synopsis
Declared in <bdlb_nullablevalueref.h>
NullableValueRef(NullableValueRef 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
Name |
Description |
original |
wrapper whose target is shared |
Created with MrDocs