Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CAtlMap::operator

 

Replaces or adds a new element to the CAtlMap.


      V& operator[](
   KINARGTYPE key 
) throw( );

key

The key of the element to add or replace.

Returns a reference to the value associated with the given key.

Example

If the key already exists, the element is replaced. If the key does not exist, a new element is added. See the example for CAtlMap::CAtlMap.

Requirements

Header: atlcoll.h

Show: