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


CMap::CMap

Constructs an empty map.

CMap(
   INT_PTR nBlockSize = 10 
);

Параметры

  • nBlockSize
    Specifies the memory-allocation granularity for extending the map.

Заметки

As the map grows, memory is allocated in units of nBlockSize entries.

Пример

// declares a map of ints to points
CMap<int,int,CPoint,CPoint> myMap(16);      

Требования

Header: afxtempl.h

См. также

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

CMap Class

CMap Members

Hierarchy Chart