Implement divmod

This commit is contained in:
Victor Zverovich
2019-10-09 10:31:17 -07:00
parent a1079e9fd6
commit e4d6d9d7c8
4 changed files with 97 additions and 28 deletions

View File

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