问题
I am having a lot of trouble finding any documentation on the header included with vs2012. I see that it is mentioned here but they don't provide a link on how to use it. What I am really looking for is documentation for how to use it, with the visual studio implementation being preferred. Thanks
回答1:
The <filesystem>
header is not part of C++11; it is a proposal for C++ TR2 based on the Boost.Filesystem library. Visual C++ 2012 includes an implementation of the proposed library.
See the MSDN documentation for the <filesystem> header and the C++ TR2 proposal on which the implementation is based (the latest TR2 proposal is N3335 from January, but I don't know what has changed or whether the Visual C++ 2012 implementation includes any of the most recent changes).
来源:https://stackoverflow.com/questions/12151351/c11-filesystem-vs2012