diff --git a/include/fmt/printf.h b/include/fmt/printf.h index 9a189844..15bdf7b9 100644 --- a/include/fmt/printf.h +++ b/include/fmt/printf.h @@ -540,6 +540,10 @@ struct printf_context { std::back_insert_iterator, typename Buffer::value_type> type; }; +template +inline arg_store::type, Args...> make_printf_args(const Args & ... args) { + return arg_store::type, Args...>(args...); +} typedef basic_format_args::type> printf_args; inline std::string vsprintf(string_view format, printf_args args) {