Skip to content
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

Disallow presentation_type c in combination with bool arg #3734

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

js324
Copy link
Contributor

@js324 js324 commented Dec 3, 2023

This fixes #3726 by throwing an error in the case that std::format is used with an arg type of bool and presentation type of c/character format. Added a test as well.

@vitaut vitaut merged commit 573d743 into fmtlib:master Dec 5, 2023
40 checks passed
@vitaut
Copy link
Contributor

vitaut commented Dec 5, 2023

Merged, thanks!

happymonkey1 pushed a commit to happymonkey1/fmt that referenced this pull request Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

presentation_type c accepted in combination with bool
2 participants