From 5740304860878032250
X-Google-Thread: f78e5,1130da7a3640a78c
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 09 May 2006 11:20:05 -0500
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@ucar.edu
From: "Nicola Musatti" <nicola.musatti@gmail.com>
Newsgroups: comp.std.c++
Subject: Re: Deprecate the use of plain pointers as standard container iterators
Organization: http://groups.google.com
Message-ID: <1147179502.790847.10110@v46g2000cwv.googlegroups.com>
References: <1146830242.416436.272780@g10g2000cwb.googlegroups.com>
   <1147008352.734687.154540@e56g2000cwe.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Complaints-To: groups-abuse@google.com
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 riprxbr00.rit:80 (squid/2.5.STABLE3)
Complaints-To: groups-abuse@google.com
Injection-Info: v46g2000cwv.googlegroups.com; posting-host=212.239.118.101;
   posting-account=9n3cLg0AAABXqZC3npS4wOhEJhS9Fp-a
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
Date: Tue,  9 May 2006 11:10:38 CST
Lines: 30
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-rDL1n0BeJLuXNuXDZ4n/5fWKgKOvUZd3kuN7HnhZjV5j0gxKarla9INvruI6GpBflMtJmAFQA8WOp/j!5jn5SsBig6pjJJoc6X88iT3rzPr9qkMMpm+nrSEeEz/xuYAIu7gVNhd/jWhBTUzvFP9ht+4SmzFF!0SZzjgUSdfSGKh76tjuvZ8r3pcuIBZ9tMgzdc9EB9Q==
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: g2news2.google.com comp.std.c++:1853


Peter Dimov wrote:
> Nicola Musatti wrote:
>
> > Hallo,
> > I belive that the use of plain pointers as iterator types for standard
> > library containers should be deprecated, because it limits genericity
> > and portability.
>
> It also increases performance and presents more opportunities for
> optimization.

I know. A friend of mine is being hit exactly by this problem as our
common supplier moved to a standard library implementation where vector
iterators are user defined types by default.

I still wonder if the current compromise is acceptable for everyone
concerned.

Cheers,
Nicola Musatti

P.S. At least *I* would have granted him a deprecation period ;-)

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



