-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use constexpr to define version numbers, not #define #107
Comments
Current situation: We use this: ApprovalTests.cpp/build/prepare_release.py Lines 62 to 81 in d997f56
To generate this: ApprovalTests.cpp/ApprovalTests/ApprovalTestsVersion.h Lines 1 to 13 in d997f56
|
See the following template for the intention of this ticket... Instead of the We need to think about the use of a namespace, though - It would be a breaking change to add this now... And we would use |
We're marking this as on_hold, as no current plans to implement it... |
It doesn't have to be a breaking change, if we add this as a new mechanism, and keep the old one... |
This arose out of #91.
It would be better to use
constexpr
instead of#define
to define the version number components of this project in code - for type-safety.Originally posted by @claremacrae in #91 (comment)
The text was updated successfully, but these errors were encountered: