nw::ut::SharedPtr::Reset Member Function

Syntax

SharedPtr & Reset(
     TObj * pObj = NULL,
     nw::os::IAllocator * pAllocator = NULL,
     SharedPtrCount< TLockObject > * pCnt = NULL
);

Arguments

Name Description
out pObj A pointer to the object for which a shared pointer is to be created.
out pAllocator A pointer to memory to be freed.
out pCnt The access count object.

Return Values

Returns the reference to a shared pointer that has been reset.

Description

Resets the reference destination of the shared pointer.


CONFIDENTIAL