[format.arg.store] (original) (raw)
28 Text processing library [text]
28.5 Formatting [format]
28.5.8 Arguments [format.arguments]
28.5.8.2 Class template format-arg-store [format.arg.store]
namespace std { template<class Context, class... Args> class format-arg-store { array<basic_format_arg<Context>, sizeof...(Args)> args; };}
An instance of format-arg-store stores formatting arguments.
template<class Context = format_context, class... Args> _format-arg-store_<Context, Args...> make_format_args(Args&... fmt_args);
Preconditions: The typetypename Context​::​template formatter_type<remove_const_t<>>
meets the BasicFormatter requirements ([formatter.requirements]) for each in Args.
Returns: An object of type format-arg-store<Context, Args...>whose args data member is initialized with{basic_format_arg<Context>(fmt_args)...}.
template<class... Args> _format-arg-store_<wformat_context, Args...> make_wformat_args(Args&... args);
Effects: Equivalent to:return make_format_args<wformat_context>(args...);