We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similar to #778, but with printf-style format strings:
printf
This code snippet:
char tmp[25]; auto res = fmt::format_to_n(tmp, 25, "%d", 12345); printf("%lu\n", res.size); printf("%s\n", tmp);
results in this output:
2 %d
It appears to work completely fine with python-style format strings like {}.
{}
The text was updated successfully, but these errors were encountered:
format_to_n uses Python-style format strings.
format_to_n
Sorry, something went wrong.
No branches or pull requests
Similar to #778, but with
printf
-style format strings:This code snippet:
results in this output:
It appears to work completely fine with python-style format strings like
{}
.The text was updated successfully, but these errors were encountered: