-
Notifications
You must be signed in to change notification settings - Fork 9
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 constants instead of defines. #4
Conversation
f54b728
to
73871fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about using constinit
?
The version number needs to be both compile-time and runtime and be kept
|
This is both to avoid using the preprocessor in C++ in general, and to prepare for future usage of the library as a C++ module.
This is both to avoid using the preprocessor in C++ in general, and to prepare for future usage of the library as a C++ module.