共用方式為


CMap::CMap

CMap(intnBlockSize**=10);**

Parameters

nBlockSize

Specifies the memory-allocation granularity for extending the map.

Remarks

Constructs an empty map. 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);

CMap OverviewClass MembersHierarchy Chart