Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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 CAutoPtr::m_p data member variable to NULL, and returns a copy of the pointer. After calling Detach, it is up to the programmer to free any allocated resources over which the CAutoPtr object may have previously assumed reponsibility.
Example
See the example in the CAutoPtr Overview.
Requirements
Header: atlbase.h