-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add consteval format string checks for wide strings #2390
Labels
Comments
Yeah, compile-time checks are currently enabled for the |
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 26, 2021
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 26, 2021
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 26, 2021
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 26, 2021
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 26, 2021
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 26, 2021
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 26, 2021
alabuzhev
added a commit
to alabuzhev/fmt
that referenced
this issue
Jun 27, 2021
We also need to do this for function taking text styles and potentially named arguments. |
This has been implemented in {fmt} v9. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
char
-strings are properly rejected, but the samewchar_t
-strings are happily compiled.Example:
Godbolt:
https://godbolt.org/z/jKr43Tqfs
The text was updated successfully, but these errors were encountered: