Create a managed-pointer reference to target owned by base.
Declared in <bslma_managedptr.h>
ManagedPtr_Ref(
ManagedPtr_Members* base,
TARGET_TYPE* target);
Create a managed-pointer reference from base members and target.
Create a ManagedPtr_Ref object having the specified base value for its base attribute, and the specified target for its target attribute. Note that target (but not base) may be null.
| Name | Description |
|---|---|
| base | shared ownership state for the managed pointer |
| target | managed object address |