tmp/tmp2p6oa5si/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Formatting support <a id="stacktrace.format">[[stacktrace.format]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
template<> struct formatter<stacktrace_entry>;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
`formatter<stacktrace_entry>` interprets *format-spec* as a
|
| 8 |
+
*stacktrace-entry-format-spec*. The syntax of format specifications is
|
| 9 |
+
as follows:
|
| 10 |
+
|
| 11 |
+
``` bnf
|
| 12 |
+
stacktrace-entry-format-spec
|
| 13 |
+
fill-and-alignₒₚₜ widthₒₚₜ
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
[*Note 1*: The productions *fill-and-align* and *width* are described
|
| 17 |
+
in [[format.string.std]]. — *end note*]
|
| 18 |
+
|
| 19 |
+
A `stacktrace_entry` object `se` is formatted as if by copying
|
| 20 |
+
`to_string(se)` through the output iterator of the context with
|
| 21 |
+
additional padding and adjustments as specified by the format
|
| 22 |
+
specifiers.
|
| 23 |
+
|
| 24 |
+
``` cpp
|
| 25 |
+
template<class Allocator> struct formatter<basic_stacktrace<Allocator>>;
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
For `formatter<basic_stacktrace<Allocator>>`, *format-spec* is empty.
|
| 29 |
+
|
| 30 |
+
A `basic_stacktrace<Allocator>` object `s` is formatted as if by copying
|
| 31 |
+
`to_string(s)` through the output iterator of the context.
|
| 32 |
+
|