System::SmartPtr::RemoveAliasing method

SmartPtr::RemoveAliasing method

Removes aliasing (created by an aliasing constructor) from pointer, makes sure it manages (if shared) or tracks (if weak) the same object it points to.

SmartPtr_ System::SmartPtr<T>::RemoveAliasing() const

ReturnValue

The pointer to the same object this pointer points to which looks after the lifetime of the same object.

See Also