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]

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ----- Original Message ----- 
From: "Yotam Medini" <ymedini@iil.intel.com>
Sent: 05 July 2000 10:44
> On Wed, Jul 05, 2000 at 04:39:50AM -0400, brent verner wrote:
> > On 05 Jul 2000 at 11:24 (+0300), Yotam Medini wrote:
> > | 
> > | 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.
> > 
> > Where did you get your info?  My copy of 14882 says this about map<>.
> 
> 1.  In ISO/IEC 14882:1998(E)
>     23.1.1 Sequences, page 463 (pdf version)
> 

Map is an Associative Container, not a Sequence.

Anthony

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use <http://www.pgp.com>
Comment: PGP Key at: http://i3.yimg.com/3/c7e5ee24/g/68fc2307.asc

iQA/AwUBOWMFC5vw+P4cG5rVEQLwuQCePhVau+rtcW/eYE56WxgcQD8u5aUAoMyt
0GAdjM1W0miw3muzUZrs7Hfe
=1p8a
-----END PGP SIGNATURE-----



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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