🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3764

Re: Can an input iterator be dereferenced multiple times?

#3764
From: Nathan Myers, http://www.cantrip...
Date: Thu, 21 Mar 1996 19:20
23 lines
1700 bytes
Michael Greenberg wrote:
> 
> I cannot tell from reading the April 1995 draft, whether or not an
> input iterator can be dereferenced mulitple times.  Can it?

The short answer is yes.

The long answer is, that was one of many questions about input 
iterators that was cleared up at the Tokyo meeting in November '95.
Input iterators are queer birds, and using them (or writing them)
safely requires careful study of the requirements table and all
the associated notes.  The April '95 draft is lacking some of these
notes.

Nathan Myers
ncm@cantrip.org  http://www.cantrip.org/
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]
Technical Details
Message-ID: <3151AB82.1265D945@cantrip.org>
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
References: <DoKzJI.DAK@scr.siemens.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
From: "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org>
Newsgroups: comp.std.c++
Subject: Re: Can an input iterator be dereferenced multiple times?
Date: 21 Mar 1996 11:20:15 PST
Organization: The Cantrip Cooperative
Approved: austern@isolde.mti.sgi.com
Message-ID: <3151AB82.1265D945@cantrip.org>
References: <DoKzJI.DAK@scr.siemens.com>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: Thu, 21 Mar 1996 11:18:26 -0800
X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.13 i386)
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMVGsY0y4NqrwXLNJAQH1bgIAqOKy2rigxgCTTM2ObRxC85kQW9n2mHE0
 3MiYxCH+M64tD4zFjcMTs4yJjfK3wVKBrj3z379Z+UlscevTErnSDw==
 =s3MC
Originator: austern@isolde.mti.sgi.com