This documentation is archived and is not being maintained.

CRBMultiMap::Insert 

Call this method to insert an element pair into the map.


POSITION Insert(
   KINARGTYPE key,
   VINARGTYPE value
) throw(...);

Parameters

key

The key value to add to the CRBMultiMap object.

value

The value to add to the CRBMultiMap object, associated with key.

Returns the position of the key/value element pair in the CRBMultiMap object.

See the documentation for the base class CRBTree for information on the other methods available.

See the example for CRBMultiMap::CRBMultiMap.

Show: