CMap::RemoveKey

BOOLRemoveKey(ARG_KEYkey);

Return Value

Nonzero if the entry was found and successfully removed; otherwise 0.

Parameters

ARG_KEY

Template parameter specifying the type of the key.

key

Key for the element to be removed.

Remarks

Looks up the map entry corresponding to the supplied key; then, if the key is found, removes the entry.

The DestructElements helper function is used to remove the entry.

Example

See the example for CMap::SetAt.

CMap OverviewClass MembersHierarchy Chart

See Also   CMap::RemoveAll