tmp/tmpj9r53g0_/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Deprecated formatting <a id="depr.format">[[depr.format]]</a>
|
| 2 |
+
|
| 3 |
+
### Header `<format>` synopsis <a id="depr.format.syn">[[depr.format.syn]]</a>
|
| 4 |
+
|
| 5 |
+
The header `<format>` has the following additions:
|
| 6 |
+
|
| 7 |
+
``` cpp
|
| 8 |
+
namespace std {
|
| 9 |
+
template<class Visitor, class Context>
|
| 10 |
+
decltype(auto) visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg);
|
| 11 |
+
}
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
### Formatting arguments <a id="depr.format.arg">[[depr.format.arg]]</a>
|
| 15 |
+
|
| 16 |
+
``` cpp
|
| 17 |
+
template<class Visitor, class Context>
|
| 18 |
+
decltype(auto) visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg);
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
*Effects:* Equivalent to:
|
| 22 |
+
`return visit(std::forward<Visitor>(vis), arg.value);`
|
| 23 |
+
|