哪些编译器支持std :: filesystem? [英] Which compilers support std::filesystem?
问题描述
感谢C ++ 11,在与boost长期保持联系之后,使我依赖它的最后一个组件是文件系统.根据以下链接,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
由于它模仿boost :: filesystem,因此我可以轻松地将我的项目改编为std并摆脱巨大的boost依赖关系.哪些编译器支持它,即使它是实验性的,因为它模仿了boost,因此也要使用它(因为没有时间表来确定何时将其标准化)?
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)?
推荐答案
- Visual Studio已经发布了多个版本的文件系统库.我相信VS 2013是第一个包含它的人.
- libstdc ++作为5.3版本的一部分提供了其文件系统库.
- libc ++具有正在开发的文件系统库,但不会成为即将发布的3.8版本的一部分.
请注意, std :: experimental :: filesystem
尚未成为C ++标准的一部分,而是在技术规范中进行了定义.这意味着它们在成为标准的一部分之前可能会发生变化.(这就是为什么它们位于 std :: experimental
命名空间中的原因)
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)
这篇关于哪些编译器支持std :: filesystem?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!