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
Running the following results in FormatError("unmatched '}' in format string") being thrown.
FormatError("unmatched '}' in format string")
float test[10]{}; fmt::format("{0:.{1}f}", fmt::join(std::begin(test), std::end(test), ", "), 2);
This happens because ArgJoin's format_arg only advances the format string past the first '}' leaving "f}" to be formatted.
ArgJoin
format_arg
fmt/fmt/format.h
Lines 4116 to 4117 in c719d94
The text was updated successfully, but these errors were encountered:
Handle nested braces in join (#638)
6822466
Good catch, thanks! Fixed in 6822466.
Sorry, something went wrong.
No branches or pull requests
Running the following results in
FormatError("unmatched '}' in format string")
being thrown.This happens because
ArgJoin
'sformat_arg
only advances the format string past the first '}' leaving "f}" to be formatted.fmt/fmt/format.h
Lines 4116 to 4117 in c719d94
The text was updated successfully, but these errors were encountered: