This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]