Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CComHeapPtr Class

A smart pointer class for managing heap pointers.

   typename T 
> class CComHeapPtr : 
   public CHeapPtr< T, CComAllocator >

The object type to be stored on the heap.

CComHeapPtr derives from CHeapPtr, but uses CComAllocator to allocate memory using COM routines. See CHeapPtr and CHeapPtrBase for the methods available.

Header: atlbase.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.