mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Updated readme and comments.
This commit is contained in:
parent
8e6e9a41e7
commit
c63d9d7481
@ -1,6 +1,6 @@
|
||||

|
||||
[](https://travis-ci.org/gulrak/filesystem)
|
||||
[](https://ci.appveyor.com/project/gulrak/filesystem)
|
||||
[](https://ci.appveyor.com/project/gulrak/filesystem)
|
||||

|
||||
|
||||
# Filesystem
|
||||
|
@ -142,7 +142,8 @@
|
||||
#include <system_error>
|
||||
#endif // GHC_EXPAND_IMPL
|
||||
|
||||
//#define LWG_2935_BEHAVIOUR
|
||||
// configure LWG conformance (see README.md)
|
||||
// #define LWG_2935_BEHAVIOUR
|
||||
#define LWG_2937_BEHAVIOUR
|
||||
|
||||
// ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch)
|
||||
|
@ -1364,7 +1364,7 @@ TEST_CASE("30.10.15.6 create_directories", "[filesystem][operations][fs.op.creat
|
||||
CHECK(!fs::is_directory(p));
|
||||
CHECK(!fs::create_directories(p, ec));
|
||||
#else
|
||||
INFO("This test expects conformance predating LWG #2935 result. (What I think is more helpful.)");
|
||||
INFO("This test expects conformance predating LWG #2935 result. (As suggested by WG21 P1164R0, implemented by GCC with issue #86910.)");
|
||||
p = t.path() / "testfile";
|
||||
generateFile(p);
|
||||
CHECK(fs::is_regular_file(p));
|
||||
@ -1408,7 +1408,7 @@ TEST_CASE("30.10.15.7 create_directory", "[filesystem][operations][fs.op.create_
|
||||
CHECK(!fs::is_directory(p));
|
||||
CHECK(!fs::create_directories(p, ec));
|
||||
#else
|
||||
INFO("This test expects conformance predating LWG #2935 result. (What I think is more helpful.)");
|
||||
INFO("This test expects conformance predating LWG #2935 result. (As suggested by WG21 P1164R0, implemented by GCC with issue #86910.)");
|
||||
p = t.path() / "testfile";
|
||||
generateFile(p);
|
||||
CHECK(fs::is_regular_file(p));
|
||||
|
Loading…
x
Reference in New Issue
Block a user