tmp/tmp2j9my3ls/{from.md → to.md}
RENAMED
|
@@ -11,25 +11,25 @@ namespace std {
|
|
| 11 |
|
| 12 |
An instance of *`format-arg-store`* stores formatting arguments.
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
template<class Context = format_context, class... Args>
|
| 16 |
-
format-arg-store<Context, Args...> make_format_args(Args&
|
| 17 |
```
|
| 18 |
|
| 19 |
*Preconditions:* The type
|
| 20 |
-
`typename Context::template formatter_type<
|
| 21 |
meets the requirements [[formatter.requirements]] for each `Tᵢ` in
|
| 22 |
`Args`.
|
| 23 |
|
| 24 |
*Returns:* An object of type *`format-arg-store`*`<Context, Args...>`
|
| 25 |
whose *args* data member is initialized with
|
| 26 |
`{basic_format_arg<Context>(fmt_args)...}`.
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
template<class... Args>
|
| 30 |
-
format-arg-store<wformat_context, Args...> make_wformat_args(Args&
|
| 31 |
```
|
| 32 |
|
| 33 |
*Effects:* Equivalent to:
|
| 34 |
`return make_format_args<wformat_context>(args...);`
|
| 35 |
|
|
|
|
| 11 |
|
| 12 |
An instance of *`format-arg-store`* stores formatting arguments.
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
template<class Context = format_context, class... Args>
|
| 16 |
+
format-arg-store<Context, Args...> make_format_args(Args&... fmt_args);
|
| 17 |
```
|
| 18 |
|
| 19 |
*Preconditions:* The type
|
| 20 |
+
`typename Context::template formatter_type<remove_const_t<``Tᵢ``>>`
|
| 21 |
meets the requirements [[formatter.requirements]] for each `Tᵢ` in
|
| 22 |
`Args`.
|
| 23 |
|
| 24 |
*Returns:* An object of type *`format-arg-store`*`<Context, Args...>`
|
| 25 |
whose *args* data member is initialized with
|
| 26 |
`{basic_format_arg<Context>(fmt_args)...}`.
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
template<class... Args>
|
| 30 |
+
format-arg-store<wformat_context, Args...> make_wformat_args(Args&... args);
|
| 31 |
```
|
| 32 |
|
| 33 |
*Effects:* Equivalent to:
|
| 34 |
`return make_format_args<wformat_context>(args...);`
|
| 35 |
|