29 Aug
2018
29 Aug
'18
12:16 p.m.
On Wed, Aug 29, 2018 at 6:12 AM Peter Dimov via Boost
Boost.Filesystem apparently contains support for BOOST_FOREACH:
https://github.com/boostorg/filesystem/blob/5a93351bfdf859ee47245e0429739226...
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. - Jim