This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: STL iterator class
On Nov 8, 1999, Ross Smith <ross.s@ihug.co.nz> wrote:
> struct iterator {
> I have no idea why it's defined out when namespaces are disabled
> anyway (does anyone?).
Probably because `iterator' is too common an name in the global
namespace to be ``stolen''. At least it must have be the case for
whoever came up with this ``work-around''.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them