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

Hack to get char and byte to play well #56

Closed
wants to merge 1 commit into from

Conversation

tarwich
Copy link

@tarwich tarwich commented Jul 22, 2014

This hack isn't great, but it fixes the problem. I don't like
being a problem-only kinda guy, so I'm submitting a patch.

Personally I think that cppformat shouldn't be so pedantic. It
seems like if there is a natural conversion from the source to the
destination format, then it should be performed.

Resolves #55

This hack isn't great, but it fixes the problem. I don't like
being a problem-only kinda guy, so I'm submitting a patch.

Personally I think that cppformat shouldn't be so pedantic. It
seems like if there is a natural conversion from the source to the
destination format, then it should be performed.

Resolves fmtlib#55
@vitaut
Copy link
Contributor

vitaut commented Jul 22, 2014

This required a bit more work to reject nonsensical format strings like {:-c} (looks like a smile =)) and update the tests. I've committed a fix in a7d94f0. Thanks again for reporting.

@vitaut vitaut closed this Jul 22, 2014
@tarwich
Copy link
Author

tarwich commented Jul 22, 2014

You rock! Thanks.

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.

Support char as number
2 participants