aboutsummaryrefslogtreecommitdiff
path: root/gcc
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 /gcc
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 'gcc')
0 files changed, 0 insertions, 0 deletions