-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Milestone
Description
It would be useful if there was a #define for the version of the package. This would make it easier to transition client code across breaking changes, e.g. the 3.x changes to operator<< and exception types.
Just something like
#define NLOHMANN_JSON_VERSION 30102 // v3.1.2
Some people prefer to use hex, and some split into separate VERSION_MAJOR/MINOR/PATCH, whatever you want.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation