Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which compilers support std::filesystem?

Thanks to C++11, after a long relationship with boost, the last component that makes me depend on it is the filesystem. std::filesystem seems to be implemented as experimental according to the link: Filesystem library

Since it mimics boost::filesystem, I can easily adapt my project into std and get rid of huge boost dependency. Which compilers support it and would it matter to use it even though it is experimental since it mimics boost (since there is no time schedule for when it will be standardized)?

like image 907
deniz Avatar asked Jan 25 '16 10:01

deniz


1 Answers

  • Visual Studio has been shipping various versions of the filesystem library for a couple of releases. I believe that VS 2013 was the first one to include it.
  • libstdc++ shipped their file system library as part of the 5.3 release.
  • libc++ has a file system library in development, but it will not be part of the upcoming 3.8 release.

Note that std::experimental::filesystem is not yet part of the C++ standard, but rather defined in a Technical Specification. This means that they are subject to change before they become part of the standard. (which is why they are in the std::experimental namespace)

like image 183
Marshall Clow Avatar answered Oct 22 '22 13:10

Marshall Clow