构造空映射。
CMap(
INT_PTR nBlockSize = 10
);
参数
- nBlockSize
为扩展映射指定内存分配粒度。
备注
当映射增大,内存 nBlockSize 项单元中。
示例
// declares a map of ints to points
CMap<int,int,CPoint,CPoint> myMap(16);
要求
Header: afxtempl.h
构造空映射。
CMap(
INT_PTR nBlockSize = 10
);
当映射增大,内存 nBlockSize 项单元中。
// declares a map of ints to points
CMap<int,int,CPoint,CPoint> myMap(16);
Header: afxtempl.h