r236072 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Tue May 10 11:25:00 GMT 2016
Author: redi
Date: Tue May 10 11:25:06 2016
New Revision: 236072
URL: https://gcc.gnu.org/viewcvs?rev=236072&root=gcc&view=rev
Log:
libstdc++/71005 fix post-increment for filesystem iterators
PR libstdc++/71005
* include/experimental/bits/fs_dir.h (__directory_iterator_proxy):
New type.
(directory_iterator::operator++(int)): Return proxy.
(recursive_directory_iterator::operator++(int)): Likewise.
* testsuite/experimental/filesystem/iterators/directory_iterator.cc:
Test post-increment.
* testsuite/experimental/filesystem/iterators/
recursive_directory_iterator.cc: Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/experimental/bits/fs_dir.h
trunk/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc
More information about the Gcc-cvs
mailing list