Partager via


CAutoPtr::Free

Call this method to delete an object pointed to by a CAutoPtr.

void Free( ) throw( );

Remarks

The object pointed to by the CAutoPtr is freed, and the CAutoPtr::m_p data member variable is set to NULL.

Requirements

Header: atlbase.h

See Also

Reference

CAutoPtr Class

Other Resources

CAutoPtr Members