This class forms the basis for several smart heap pointer classes.
This class and its members cannot be used in applications that execute in the Windows Runtime.
The object type to be stored on the heap.
The memory allocation class to use. By default CRT routines are used to allocate and free memory.
Call this method to allocate memory.
Call this method to take ownership of an existing pointer.
Call this method to release ownership of a pointer.
Call this method to delete an object pointed to by a CHeapPtrBase.
Call this method to reallocate memory.