20 General utilities library [utilities]
namespace std {
template<class Context, class... Args>
struct 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(const Args&... args);
Preconditions:
The type
typename Context::template formatter_type<Ti>
meets the
Formatter requirements (
[formatter.requirements])
for each
Ti in
Args. Returns:
{basic_format_arg<Context>(args)...}. template<class... Args>
format-arg-store<wformat_context, Args...> make_wformat_args(const Args&... args);
Effects:
Equivalent to:
return make_format_args<wformat_context>(args...);