我很难找到有关 vs2012 header 的任何文档。我看到提到了 here但他们没有提供有关如何使用它的链接。我真正想要的是关于如何使用它的文档,首选 visual studio 实现。谢谢
最佳答案
<filesystem>
header 不是 C++11 的一部分;它是基于 Boost.Filesystem 的 C++ TR2 提案图书馆。 Visual C++ 2012 包含建议库的实现。
参见 the MSDN documentation for the <filesystem>
header和 the C++ TR2 proposal on which the implementation is based (最新的 TR2 提议是从 1 月开始的 N3335,但我不知道发生了什么变化,也不知道 Visual C++ 2012 实现是否包含任何最新的变化)。
关于C++11 文件系统 (VS2012),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12151351/