This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r254017 - in /branches/gcc-6-branch/libstdc++-v...
- From: redi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 23 Oct 2017 17:47:05 -0000
- Subject: r254017 - in /branches/gcc-6-branch/libstdc++-v...
Author: redi
Date: Mon Oct 23 17:47:05 2017
New Revision: 254017
URL: https://gcc.gnu.org/viewcvs?rev=254017&root=gcc&view=rev
Log:
Fix path::iterator post-increment and post-decrement
Backport from mainline
2017-10-19 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/bits/fs_path.h (path::iterator++(int))
(path::iterator--(int)): Fix for paths with only one component.
* testsuite/experimental/filesystem/path/itr/traversal.cc: Test
post-increment and post-decrement.
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/experimental/bits/fs_path.h
branches/gcc-6-branch/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc