Files
2025-10-25 03:02:53 +03:00

1.8 KiB
Raw Permalink Blame History

[format.arg.store]

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 { // exposition only array<basic_format_arg, sizeof...(Args)> args; // exposition only};}

1

#

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);

2

#

Preconditions: The typetypename Context::template formatter_type<remove_const_t>
meets the BasicFormatter requirements ([formatter.requirements]) for each Ti in Args.

3

#

Returns: An object of type format-arg-store<Context, Args...> whose args data member is initialized with{basic_format_arg(fmt_args)...}.

🔗

template<class... Args> format-arg-store<wformat_context, Args...> make_wformat_args(Args&... args);

4

#

Effects: Equivalent to:return make_format_args<wformat_context>(args...);