CSimpleMap::Add
Adds a key and associated value to the map array.
BOOL Add(
const TKey& key,
const TVal& val
);
Parameters
key
The key.val
The associated value.
Return Value
Returns TRUE if the key and value were successfully added, FALSE otherwise.
Remarks
Each key and value pair added causes the mapping array memory to be freed and reallocated, in order to ensure the data for each is always stored contiguously. That is, the second key element always directly follows the first key element in memory and so on.
Requirements
Header: atlsimpcoll.h