Added version macro.

This commit is contained in:
Steffen Schuemann 2018-09-11 13:22:28 +02:00
parent f46f922ed5
commit de5cb2f25f
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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 {