[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Replacing boost with C++ standard library
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] Replacing boost with C++ standard library |
Date: |
Mon, 26 Feb 2018 23:02:23 +0100 |
On Mon, 26 Feb 2018 20:46:26 +0000 Greg Chicares <address@hidden> wrote:
GC> > OTOH it might make sense to wait until g++ 8 which
GC> > will have it std::filesystem itself.
GC>
GC> Even debian-unstable doesn't have that yet, so I won't wait.
gcc 8 hasn't been released yet, so for once it's not Debian's fault...
GC> > I could also resurrect my ancient patch updating the code to use version
3
GC> > (on which C++17 std::filesystem is based) of Boost.Filesystem API instead
GC> > of the version 1 that we use currently, not so much for applying it, but
to
GC> > use as a base for the later switch to std::filesystem.
GC>
GC> Yes, please!
I've looked at this and while the original patch still applies more or
less cleanly, it's not at all enough to build with std::fs, there are many
more changes needed on top of the ones I had already done. I'll work on
them, but I'm afraid the resulting patch will end up being quite difficult
to review just because of the sheer number of changes, even if most of them
are quite trivial.
OTOH I don't think it makes sense to ask you to review a patch for
building with Boost.Filesystem v3 separately, if the goal is to switch
directly to std::filesystem anyhow, does it?
Please let me know how would you prefer to review/merge this (once it's
ready; this is not urgent at all),
VZ