Decouple format and parse contexts

This commit is contained in:
Victor Zverovich
2019-02-09 19:34:42 -08:00
parent 744e66bb08
commit 442fa1bd46
9 changed files with 166 additions and 183 deletions

View File

@@ -20,8 +20,9 @@ class custom_arg_formatter
typedef fmt::arg_formatter<range> base;
custom_arg_formatter(fmt::format_context& ctx,
fmt::format_parse_context* parse_ctx,
fmt::format_specs* s = FMT_NULL)
: base(ctx, s) {}
: base(ctx, parse_ctx, s) {}
using base::operator();