Windows support for filesystem?

Hi,

currently, libc++ does not have filesystem support on Windows.

Is that something that is being worked on? Is there a roadmap or something similar, for when filesystem support might be added on windows?

Regards,
Adrian

[AE]

currently, libc++ does not have filesystem support on Windows.
Is that something that is being worked on? Is there a roadmap or
something similar, for when filesystem support might be added on windows?

Like charconv, Microsoft would be happy to provide our filesystem implementation to libcxx. We've already done the time-consuming work of figuring out how to map the C++17 interface to the Windows API, and how to deal with Windows path syntax. And we have the same license. :slight_smile:

(We're still extremely busy finishing C++20, so while we can answer questions, we don't have enough spare capacity to drive development here.)

STL

FWIW, I've started looking into this at some point, but never had time to dig deeper into it yet.

Having access to a complete implementation of C++17 filesystem for Windows is very helpful, to see how to map the different end-user APIs to the platform features in the best way. The main hurdle for integrating it is making it fit into the existing libc++ intermediate abstractions used.

Also, IIRC, the libc++ testsuite for the filesystem features doesn't pass with MSVC's STL at the moment, so the first step would probably to fix the testsuite to work in that setup, to use that as a reference for the libc++ implementation afterwards.

// Martin