Partager via


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

Reference

CMap Class

Hierarchy Chart

Other Resources

CMap Members