Improve handling of named arguments

This commit is contained in:
Victor Zverovich committed 2020-04-14 11:56:55 -07:00
1 parent a9d62d3f35
commit 8a4630686e
8 files changed
+112 -121

No files matched your search

+1 -1
View File
@@ -476,7 +476,7 @@ OutputIt basic_printf_context<OutputIt, Char>::format() {
// Parse argument index, flags and width.
int arg_index = parse_header(it, end, specs);
if (arg_index == 0) on_error("argument index out of range");
if (arg_index == 0) on_error("argument not found");
// Parse precision.
if (it != end && *it == '.') {