Subject: Re: [boost] BOOST_FOREACH on a filesystem directory_iterator?
From: James E. King III (jking_at_[hidden])
Date: 2018-08-29 12:16:14
On Wed, Aug 29, 2018 at 6:12 AM Peter Dimov via Boost <boost_at_[hidden]>
> Boost.Filesystem apparently contains support for BOOST_FOREACH:
> But it doesn't work:
> The fix is trivial, but I wonder... how did nobody notice? Is this feature
> never used?
I haven't tried that before, but I would be concerned about the ability to
iterate cleanly in the presence of concurrent changes.
I had hoped boost filesystem uses a replaceable back-end so I could target
it against other filesystem providers (other than POSIX, Win32), but I
don't see that architecture internally. :( Would be nice to have a
complete back-end abstraction so one could provide their own.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk