This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: WIP: Implement Filesystem TS
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 5 Aug 2014 21:02:39 +0100
- Subject: Re: WIP: Implement Filesystem TS
- Authentication-results: sourceware.org; auth=none
- References: <20140804135012 dot GQ2361 at redhat dot com> <20140804171148 dot GS2361 at redhat dot com> <alpine dot DEB dot 2 dot 11 dot 1408042023310 dot 18985 at stedding dot saclay dot inria dot fr> <20140804223622 dot GA6927 at redhat dot com> <20140805083403 dot GB6927 at redhat dot com> <alpine dot DEB dot 2 dot 11 dot 1408051405030 dot 2166 at stedding dot saclay dot inria dot fr> <20140805133458 dot GC6927 at redhat dot com>
On 05/08/14 14:34 +0100, Jonathan Wakely wrote:
On 05/08/14 15:18 +0200, Marc Glisse wrote:
stack<_Dir> makes sense to me...
I don't remember why it didn't work, but it might have been with an
earlier version of the code where _Dir was a very thin wrapper over
DIR* and so didn't provide enough functionality for stack<_Dir> to
work. I moved more functionality into the _Dir class and so it might
work now.
It wasn't too hard, recursive_directory_iterator just contains a
shared_ptr<stack<_Dir>> now.
Instead of sending more patches to the list, my latest code is now in
the GCC Git mirror in the redi/filesystem-ts branch:
https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/heads/redi/filesystem-ts
I'll use that branch for any further changes, until we decide it's
ready for trunk. Patches against that branch are welcome.