-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
ES.30: Don’t use macros for program text manipulation #2136
Comments
SpeedReach
added a commit
to SpeedReach/CppCoreGuidelines
that referenced
this issue
Sep 30, 2023
The example should be passing in a constexpr and validating it at compile time like a macro, but instead passes a unknown value at compile time. Which may cause mislead and the code doesn't even work. Ref: isocpp#2136
Merged
cubbimew
pushed a commit
that referenced
this issue
Oct 12, 2023
* ES.30 fix example code The example should be passing in a constexpr and validating it at compile time like a macro, but instead passes a unknown value at compile time. Which may cause mislead and the code doesn't even work. Ref: #2136 * Update CppCoreGuidelines.md Used enums instead of raw numbers.
closed by #2143 |
There is a warning about the unused x,y params. Can those x,y there be removed?
|
#2152 filed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The suggested C++ stringify example doesn't compile
https://godbolt.org/z/1vj3YE5GK
The text was updated successfully, but these errors were encountered: