From 22da1c76983ec63b6e08116260603a8e5504630f Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sat, 29 Sep 2018 14:07:51 +0200 Subject: [PATCH] Updated readme. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index acdbbd5..b16e719 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,11 @@ using fstream = ghc::filesystem::fstream; Now you have e.g. `fs::ofstream out(somePath);` and it is either the wrapper or the C++17 `std::ofstream`. -Be aware, as a header-only library, it is not hiding the fact, that it +Note, that on MSVC this detection only works starting from version 15.7 on and when setting +the `/Zc:__cplusplus` compile switch, as the compiler allways reports `199711L` +without that switch ([see](https://blogs.msdn.microsoft.com/vcblog/2018/04/09/msvc-now-correctly-reports-__cplusplus/)). + +Be aware too, as a header-only library, it is not hiding the fact, that it uses system includes, so they "pollute" your global namespace. There is a version macro `GHC_FILESYSTEM_VERSION` defined in case future changes