Share via


CHeapPtrBase Members

Methods

AllocateBytes

Call this method to allocate memory.

Attach

Call this method to take ownership of an existing pointer.

~CHeapPtrBase

The destructor.

Detach

Call this method to release ownership of a pointer.

Free

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

ReallocateBytes

Call this method to reallocate memory.

Operators

operator &

The & operator.

operator T*

The cast operator.

operator ->

The pointer-to-member operator.

Data Members

m_pData

The pointer data member variable.

See Also

Reference

CHeapPtrBase Class