aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorPetr Ovtchenkov <ptr@void-ptr.info>2017-10-04 16:15:18 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2017-10-04 16:15:18 +0000
commit4e91452412294f3cc1c63de8c35e88d2c08fe6ee (patch)
treedf275619e1dd28039fea465b3f33aada1130e5ce /libstdc++-v3/ChangeLog
parent6411847fcf9941ef7312911378839cc8f45e8d9a (diff)
downloadgcc-4e91452412294f3cc1c63de8c35e88d2c08fe6ee.zip
gcc-4e91452412294f3cc1c63de8c35e88d2c08fe6ee.tar.gz
gcc-4e91452412294f3cc1c63de8c35e88d2c08fe6ee.tar.bz2
2017-10-04 Petr Ovtchenkov <ptr@void-ptr.info>
François Dumont <fdumont@gcc.gnu.org> * include/bits/streambuf_iterator.h (istreambuf_iterator<>::operator*()): Do not capture iterator state in Debug assertion. (istreambuf_iterator<>::operator++()): Likewise and remove _M_sbuf check. (istreambuf_iterator<>::operator++(int)): Likewise. (istreambuf_iterator<>::_M_get()): Remove _M_c assignment. (istreambuf_iterator<>::_S_is_eof()): New. (istreambuf_iterator<>::_M_at_eof()): Adapt, use latter. (find(istreambuf_iterator<>, istreambuf_iterator<>, _CharT)): Return an iterator with _M_c set to eof to capture streambuf state on evaluation. (testsuite/24_iterators/istreambuf_iterator/2.cc): Add checks. Co-Authored-By: François Dumont <fdumont@gcc.gnu.org> From-SVN: r253417
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4559f79..4d371b8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,19 @@
+2017-10-04 Petr Ovtchenkov <ptr@void-ptr.info>
+ François Dumont <fdumont@gcc.gnu.org>
+
+ * include/bits/streambuf_iterator.h
+ (istreambuf_iterator<>::operator*()): Do not capture iterator state
+ in Debug assertion.
+ (istreambuf_iterator<>::operator++()): Likewise and remove _M_sbuf check.
+ (istreambuf_iterator<>::operator++(int)): Likewise.
+ (istreambuf_iterator<>::_M_get()): Remove _M_c assignment.
+ (istreambuf_iterator<>::_S_is_eof()): New.
+ (istreambuf_iterator<>::_M_at_eof()): Adapt, use latter.
+ (find(istreambuf_iterator<>, istreambuf_iterator<>, _CharT)):
+ Return an iterator with _M_c set to eof to capture streambuf state
+ on evaluation.
+ (testsuite/24_iterators/istreambuf_iterator/2.cc): Add checks.
+
2017-10-03 Jakub Jelinek <jakub@redhat.com>
* include/std/charconv (__unsigned_least_t): Fix number of closing >s for