다음을 통해 공유


CHeapPtrBase::Detach

Call this method to release ownership of a pointer.

T* Detach( ) throw( );

Return Value

Returns a copy of the pointer.

Remarks

Releases ownership of a pointer, sets the CHeapPtrBase::m_pData member variable to NULL, and returns a copy of the pointer.

Requirements

Header: atlcoll.h

See Also

Concepts

CHeapPtrBase Class

CHeapPtrBase Members

CHeapPtrBase::Attach