Add recursive_directory_iterator::pop(error_code&)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 26 Oct 2016 15:20:04 +0000 (16:20 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 26 Oct 2016 15:20:04 +0000 (16:20 +0100)
commitec0b1056a751b70efb567dbb02fe8b386dc6362f
tree22a523c01df279c1901b90805f010c9a49cf1110
parentae51afc5a2041cf8acec1343db13346fa9a848b1
Add recursive_directory_iterator::pop(error_code&)

* include/experimental/bits/fs_dir.h (recursive_directory_iterator):
Overload pop (LWG 2706).
* src/filesystem/dir.cc (recursive_directory_iterator::pop): Define
new overload.
* testsuite/experimental/filesystem/iterators/pop.cc: New test.

From-SVN: r241559
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/bits/fs_dir.h
libstdc++-v3/src/filesystem/dir.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/pop.cc [new file with mode: 0644]