[PATCH] Add recursive_directory_iterator::pop(error_code&)

Jonathan Wakely jwakely@redhat.com
Wed Oct 26 15:34:00 GMT 2016


On 26/10/16 16:19 +0100, Jonathan Wakely wrote:
>Another Filesystem TS change, implementing LWG 2706.
>
>	* 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.
>

This new test isn't reliable, it depends on directory order. This
simplifies it so it behaves reliably.

Committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1373 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20161026/3dac7b46/attachment.bin>


More information about the Libstdc++ mailing list