Topic: Can an input iterator be dereferenced multiple times?
Author: mlg@scr.siemens.com (Michael Greenberg)
Date: 1996/03/20 Raw View
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 ]
Author: "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org>
Date: 1996/03/21 Raw View
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
]