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


CHeapPtrList Class

This class provides methods useful when constructing a list of heap pointers.

template<
   typename E,
   class Allocator = ATL::CCRTAllocator
>
class CHeapPtrList : public CAtlList<
   ATL::CHeapPtr< E, Allocator >,
   CHeapPtrElementTraits< E, Allocator >
>

Параметры

  • E
    The object type to be stored in the collection class.

  • Allocator
    The memory allocation class to use. The default is CCRTAllocator.

Заметки

This class provides a constructor and derives methods from CAtlList and CHeapPtrElementTraits to aid the creation of a collection class object storing heap pointers.

Требования

Header: atlcoll.h

См. также

Основные понятия

CHeapPtrList Members

CAtlList Class

CHeapPtr Class

CHeapPtrElementTraits Class

ATL Class Overview