Curt Arnold wrote:

".. insertion takes place only if there is not already an element in the m (map) with that key."


Right. I usually take the easy way (less lines of code) out with the operator[] override unless I need to know that the key existed before inserting a new one or replacing it.

mapObj[key] = oldNewValue;

I haven't gotten into using MDC's yet so I hadn't noticed.
--
Jacob Anawalt
Gecko Software, Inc.
[EMAIL PROTECTED]
435-752-8026

Reply via email to