🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Michael Greenberg Wed, 20 Mar 1996 20:47
Can an input iterator be dereferenced multiple times?
#3750
Author: Michael Greenberg
Date: Wed, 20 Mar 1996 20:47
16 lines
1272 bytes
I cannot tell from reading the April 1995 draft, whether or not an
input iterator can be dereferenced mulitple times.  Can it?

Thanks,
--
Michael Greenberg                      email: mgreenberg@scr.siemens.com
Siemens Corporate Research             phone: 609-734-3347
755 College Road East                  fax: 609-734-6565
Princeton, NJ 08540


[ 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         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
Re: Can an input iterator be dereferenced multiple times?
#3764
Author: 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 
]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads