CMap::CMap

Constructs an empty map.

CMap(
   INT_PTR nBlockSize = 10 
);

Parameters

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

Remarks

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

Example

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

Requirements

Header: afxtempl.h

See Also

Concepts

CMap Class

CMap Members

Hierarchy Chart