Поделиться через


CComAllocator Class

This class provides methods for managing memory using COM memory routines.

class CComAllocator

Members

Public Methods

Name

Description

CComAllocator::Allocate

Call this static method to allocate memory.

CComAllocator::Free

Call this static method to free allocated memory.

CComAllocator::Reallocate

Call this static method to reallocate memory.

Remarks

This class is used by CComHeapPtr to provide the COM memory allocation routines. The counterpart class, CCRTAllocator, provides the same methods using CRT routines.

Requirements

Header: atlbase.h

See Also

Reference

CComHeapPtr Class

CCRTAllocator Class

Other Resources

ATL Class Overview