Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes all the values from this map by calling the global helper function DestructElements.
void RemoveAll( );
Remarks
The function works correctly if the map is already empty.
Example
CMap<int,int,CPoint,CPoint> myMap;
// Add 10 elements to the map.
for (int i=0;i < 10;i++)
myMap.SetAt(i, CPoint(i, i));
myMap.RemoveAll();
ASSERT(myMap.IsEmpty());
Requirements
Header: afxtempl.h