mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-11 02:36:33 +08:00
Added version macro.
This commit is contained in:
parent
f46f922ed5
commit
de5cb2f25f
@ -106,6 +106,10 @@ namespace fs = ghc::filesystem;
|
||||
Be aware, 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
|
||||
might make it needed to react on the version, but I don't plan to break anything.
|
||||
It's the version as decimal number `(major * 10000 + minor * 100 + patch)`.
|
||||
|
||||
|
||||
## Documentation
|
||||
|
||||
|
@ -100,6 +100,9 @@
|
||||
//#define LWG_2935_BEHAVIOUR
|
||||
#define LWG_2937_BEHAVIOUR
|
||||
|
||||
// ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch)
|
||||
#define GHC_FILESYSTEM_VERSION 10000L
|
||||
|
||||
namespace ghc {
|
||||
namespace filesystem {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user