This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81857] istreambuf_iterator not work as input iterator
- From: "abominable-snowman at yandex dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Aug 2017 09:03:00 +0000
- Subject: [Bug libstdc++/81857] istreambuf_iterator not work as input iterator
- Auto-submitted: auto-generated
- References: <bug-81857-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81857
--- Comment #3 from Petr Ovtchenkov <abominable-snowman at yandex dot ru> ---
Created attachment 42042
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42042&action=edit
proposed test for issue
https://gcc.gnu.org/ml/libstdc++/2017-08/msg00036.html
May be worth to add (see issue2471) words to copy_n spec:
"copy_n return result + n (i.e. increment OutputIterator n times) and
increment InputIterator max(0, n - 1)."
to avoid ambiguity?