Create a managed‐pointer reference to target owned by base.
Synopsis
Declared in <bslma_managedptr.h>
ManagedPtr_Ref(
ManagedPtr_Members* base,
TARGET_TYPE* target);
Description
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.
Parameters
Name |
Description |
base |
shared ownership state for the managed pointer |
target |
managed object address |
Created with MrDocs