Set the exposed pointer to the specified alias.
Declared in <bslma_managedptr_members.h>
void
setAliasPtr(void* alias);
Set pointer to have the specified alias. If 0 == alias, then this object will have an unset state with no effect on the previously managed object (if any). The behavior is undefined unless 0 == pointer() if and only if 0 == alias.
| Name | Description |
|---|---|
| alias | address to expose as the managed pointer value |