[cfe-dev] Filesystem has Landed in Libc++
Eric Fiselier via cfe-dev
cfe-dev at lists.llvm.org
Thu Jul 26 21:20:31 PDT 2018
I recently committed <filesystem> to trunk. I wanted to bring attention to
some quirks it currently has.
First, it's been put in a separate library, libc++fs, for now. Users are
responsible for linking the library when they use filesystem.
Second, it should still not be considered ABI stable. Vendors should be
aware of this before shipping it. Hopefully all the standard and
implementation bugs can be resolved by the next release, and we can move it
into the main dylib.
Third, libc++experimental no longer contains the symbols for
<experimental/filesystem>, which is really just <filesystem> is disguise.
If you've been using <experimental/filesystem> you now need to link
Fourth, `<filesystem>` is technically available in C++11 and later. The
implementation lives in the std::__fs::filesystem namespace, which is
marked "inline" in C++17 but not before. We should consider documenting
this as an extension to its use w/o C++17.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev