From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12381 invoked by alias); 15 May 2006 13:46:58 -0000 Received: (qmail 12373 invoked by uid 22791); 15 May 2006 13:46:57 -0000 X-Spam-Check-By: sourceware.org Received: from exprod6og50.obsmtp.com (HELO exprod6og50.obsmtp.com) (64.18.1.181) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 15 May 2006 13:46:54 +0000 Received: from source ([192.150.11.134]) by exprod6ob50.postini.com ([64.18.5.12]) with SMTP; Mon, 15 May 2006 06:46:48 PDT Received: from inner-relay-3.eur.adobe.com (inner-relay-3.adobe.com [192.150.20.198] (may be forged)) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k4FDjZBl016642; Mon, 15 May 2006 06:45:36 -0700 (PDT) Received: from fe1.corp.adobe.com (fe1.corp.adobe.com [10.8.192.70]) by inner-relay-3.eur.adobe.com (8.12.10/8.12.9) with ESMTP id k4FDkjrs012012; Mon, 15 May 2006 06:46:46 -0700 (PDT) Received: from namailgen.corp.adobe.com ([10.8.192.91]) by fe1.corp.adobe.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 May 2006 06:46:44 -0700 Received: from 10.32.16.88 ([10.32.16.88]) by namailgen.corp.adobe.com ([10.8.192.91]) via Exchange Front-End Server namailhost.corp.adobe.com ([10.8.192.72]) with Microsoft Exchange Server HTTP-DAV ; Mon, 15 May 2006 13:46:44 +0000 User-Agent: Microsoft-Entourage/11.2.3.060209 Date: Mon, 15 May 2006 13:46:00 -0000 Subject: Re: Problem with Map Iterator From: John Love-Jensen To: Aseem Rastogi CC: Sanjib Talukdar , MSX to GCC Message-ID: In-Reply-To: <446881C6.5020305@india.tejasnetworks.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00154.txt.bz2 Hi Aseem, > Not all. Only the one pointed to by the iterator. I stand corrected. Thanks. Sincerely, --Eljay vector all vector iterators are invalidated on any change string & wstring all string iterators are invalidated on any change deque all deque iterators are invalidated on any change, except for beginning and end removals list no list iterators are invalidated, except for those referring to a deleted element set & multiset no iterators are invalidated except ones pointing to a removed element map & multimap no iterators are invalidated except ones pointed to a removed element