Implement LWG 2353
authorVille Voutilainen <ville.voutilainen@gmail.com>
Mon, 20 Nov 2017 14:21:42 +0000 (16:21 +0200)
committerVille Voutilainen <ville@gcc.gnu.org>
Mon, 20 Nov 2017 14:21:42 +0000 (16:21 +0200)
commit7b7b60c83047db2e4bde9e7f40ce3f1738694789
tree18ee860194c5bf079e48a6f3b5f0de4836e5242b
parent9cdcebf971e71e69a773d729b97cfb55652cca31
Implement LWG 2353

* include/bits/stl_iterator_base_funcs.h (next):
Use InputIterator instead of ForwardIterator.
* testsuite/24_iterators/operations/lwg2353.cc: New.
* testsuite/24_iterators/operations/next_neg.cc: Remove.

From-SVN: r254957
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_iterator_base_funcs.h
libstdc++-v3/testsuite/24_iterators/operations/lwg2353.cc [new file with mode: 0644]
libstdc++-v3/testsuite/24_iterators/operations/next_neg.cc [deleted file]