CMapStringToOb( int nBlockSize = 10 );
Parameters
nBlockSize
Specifies the memory-allocation granularity for extending the map.
Remarks
Constructs an empty CString-to-CObject* map. As the map grows, memory is allocated in units of nBlockSize entries.
Example
// example for CMapStringToOb::CMapStringToOb
CMapStringToOb map(20); // Map on the stack with blocksize of 20
CMapStringToOb* pm = new CMapStringToOb; // Map on the heap
// with default blocksize
See CObList::CObList for a listing of the CAge
class used in all collection examples.