This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[MAILER-DAEMON@sourceware.cygnus.com: failure notice]


----- Forwarded message from MAILER-DAEMON@sourceware.cygnus.com -----

Date: 5 Jul 2000 08:04:43 -0000
From: MAILER-DAEMON@sourceware.cygnus.com
To: ymedini@iil.intel.com
Subject: failure notice

Hi. This is the qmail-send program at sourceware.cygnus.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<libstdc++-prs@sourceware.cygnus.com>:
 
  This mailing list is not for general discussions.  Please resend your
  mail note to a more appropriate list.
 

--- Below this line is a copy of the message.

Return-Path: <ymedini@iil.intel.com>
Received: (qmail 13283 invoked from network); 5 Jul 2000 08:04:42 -0000
Received: from melete.ch.intel.com (143.182.246.25)
  by sourceware.cygnus.com with SMTP; 5 Jul 2000 08:04:42 -0000
Received: from iil.intel.com (iil.intel.com [143.185.96.126])
	by melete.ch.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.30 2000/06/08 18:25:35 dmccart Exp $) with ESMTP id IAA23981;
	Wed, 5 Jul 2000 08:03:12 GMT
Received: from iwsl010.iil.intel.com (root@iwsl010.iil.intel.com [143.185.89.47]) by iil.intel.com (8.8.6/8.8.6) with ESMTP id LAA40072; Wed, 5 Jul 2000 11:02:50 +0300
Received: (from ymedini@localhost)
	by iwsl010.iil.intel.com (8.9.3/Sendmail 8.9.1/d: IDC based on client.m4,v 1.3 by sedayao) id LAA01401;
	Wed, 5 Jul 2000 11:02:48 +0300
Date: Wed, 5 Jul 2000 11:02:48 +0300
Message-Id: <200007050802.LAA01401@iwsl010.iil.intel.com>
X-Authentication-Warning: iwsl010.iil.intel.com: ymedini set sender to ymedini@iil.intel.com using -f
From: Yotam Medini <ymedini@iil.intel.com>
To: stl@sgi.com, ncm@cantrip.org, nicolai.josuttis@braunschweig.netsurf.de,
        libbook@josuttis.com, libstdc++-prs@sourceware.cygnus.com,
        boris@stlport.com, genstl@graphics.stanford.edu
Subject: std::map<T>::erase(..) return iterator!?
Reply-to: ymedini@iil.intel.com
CC: mtsirkin@iil.intel.com, gkovriga@iil.intel.com


It seems that Josuttis's book, SGI's STL and thus gcc's libstdc++ have 
a _wrong_  void  return type  for:

  void  std::map<T>::erase(map<T>::iterator pos);
  void  std::map<T>::erase(map<T>::iterator first, map<T>::iterator last);

where they should return an iterator to past what was erased:

  map<T>::iterator  std::map<T>::erase(map<T>::iterator pos);
  map<T>::iterator  std::map<T>::erase(map<T>::iterator first, 
				       map<T>::iterator last);
Please clarify and/or fix.

-- yotam

Yotam Medini (MS: IDC-4E)  // (home:) haTamar 7   \\ Go       .--. .--.	-. -.
ymedini@iil.intel.com     //  Binyamina, 30500     \\  Linux, |	 | |  |	 |  |
POBox 1659, Haifa 31015  // ISRAEL, (972) 6 6288995 \\   Go!  |	 | |  |	 |  '
ISRAEL (972) 4 865-6181 //  ymedini@netvision.net.il \\	      |__/_|  |	 |

----- End forwarded message -----

-- 
Yotam Medini (MS: IDC-4E)  // (home:) haTamar 7   \\ Go       .--. .--.	-. -.
ymedini@iil.intel.com     //  Binyamina, 30500     \\  Linux, |	 | |  |	 |  |
POBox 1659, Haifa 31015  // ISRAEL, (972) 6 6288995 \\   Go!  |	 | |  |	 |  '
ISRAEL (972) 4 865-6181 //  ymedini@netvision.net.il \\	      |__/_|  |	 |

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]