From 4873820959591026956
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,396a971a96f93ef8
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2003-02-25 10:12:43 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: NOSPAMsjhowe@dial.pipex.com ("Stephen Howe")
Newsgroups: comp.std.c++
Subject: Re: random access iterator and copy-constructibility
Date: Tue, 25 Feb 2003 18:12:43 +0000 (UTC)
Lines: 19
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <3e5ac4cf$0$3411$cc9e4d1f@news.dial.pipex.com>
References: <b3d5ec$21mr$1@news.vol.cz> <yu99vfz9ifm1.fsf@europa.research.att.com> <b3e5fh$1dl$1@news.vol.cz>
X-Trace: mail2news.demon.co.uk 1046196763 8167 10.0.0.1 (25 Feb 2003 18:12:43 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Tue, 25 Feb 2003 18:12:43 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.05)
	id 18njZJ-00027a-00
	for mail2news@news.news.demon.net; Tue, 25 Feb 2003 18:12:42 +0000
X-Received: by mulga.cs.mu.OZ.AU
	id FAA20937; Wed, 26 Feb 2003 05:12:37 +1100 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ncar.ucar.edu
X-Reply-To: "Stephen Howe" <NOSPAMsjhowe@dial.pipex.com>
X-Newsgroups: comp.std.c++
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4920.2300
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300
X-Spam-Status: No, hits=1.8 required=5.0
	tests=INVALID_MSGID,PRIORITY_NO_NAME,REFERENCES,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: *
Xref: archiver1.google.com comp.std.c++:18064

>I think I must have overlooked it...

I don''t think you have overlooked it. Don't look at types of iterator but
instead look at the containers that support such iterators: vector and
deque. Have a look at 23.1/3:

"The type of objects stored in these components must meet the requirements
of CopyConstructible
types (20.1.3), and the additional requirements of Assignable types."

Stephen Howe


---
[ 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.jamesd.demon.co.uk/csc/faq.html                       ]



