Share via


CComHeapPtr::CComHeapPtr

The constructor.

CComHeapPtr( ) throw( ); 
explicit CComHeapPtr(
   T* pData 
) throw( );

Parameters

  • pData
    An existing CComHeapPtr object.

Remarks

The heap pointer can optionally be created using an existing CComHeapPtr object. If so, the new CComHeapPtr object assumes responsibility for managing the new pointer and resources.

Requirements

Header: atlbase.h

See Also

Reference

CComHeapPtr Class

Other Resources

CComHeapPtr Members