From Jason Turner

[format.string.general]

Diff to HTML by rtfpessoa

tmp/tmpkuf1p5v2/{from.md → to.md} RENAMED
@@ -1,6 +1,6 @@
1
- #### In general <a id="format.string.general">[[format.string.general]]</a>
2
 
3
  A *format string* for arguments `args` is a (possibly empty) sequence of
4
  *replacement fields*, *escape sequences*, and characters other than `{`
5
  and `}`. Let `charT` be the character type of the format string. Each
6
  character that is not part of a replacement field or an escape sequence
@@ -46,11 +46,11 @@ format-specifier
46
  ':' format-spec
47
  ```
48
 
49
  ``` bnf
50
  format-spec
51
- as specified by the formatter specialization for the argument type
52
  ```
53
 
54
  The *arg-id* field specifies the index of the argument in `args` whose
55
  value is to be formatted and inserted into the output instead of the
56
  replacement field. If there is no argument with the index *arg-id* in
@@ -95,14 +95,14 @@ conform to the format specifications for the argument type referred to
95
  by *arg-id*, the string is not a format string for `args`.
96
 
97
  [*Example 3*:
98
 
99
  - For arithmetic, pointer, and string types the *format-spec* is
100
- interpreted as a *std-format-spec* as described in
101
  [[format.string.std]].
102
  - For chrono types the *format-spec* is interpreted as a
103
- *chrono-format-spec* as described in [[time.format]].
104
  - For user-defined `formatter` specializations, the behavior of the
105
  `parse` member function determines how the *format-spec* is
106
  interpreted.
107
 
108
  — *end example*]
 
1
+ #### General <a id="format.string.general">[[format.string.general]]</a>
2
 
3
  A *format string* for arguments `args` is a (possibly empty) sequence of
4
  *replacement fields*, *escape sequences*, and characters other than `{`
5
  and `}`. Let `charT` be the character type of the format string. Each
6
  character that is not part of a replacement field or an escape sequence
 
46
  ':' format-spec
47
  ```
48
 
49
  ``` bnf
50
  format-spec
51
+ as specified by the formatter specialization for the argument type; cannot start with '}'
52
  ```
53
 
54
  The *arg-id* field specifies the index of the argument in `args` whose
55
  value is to be formatted and inserted into the output instead of the
56
  replacement field. If there is no argument with the index *arg-id* in
 
95
  by *arg-id*, the string is not a format string for `args`.
96
 
97
  [*Example 3*:
98
 
99
  - For arithmetic, pointer, and string types the *format-spec* is
100
+ interpreted as a *std-format-spec* as described in 
101
  [[format.string.std]].
102
  - For chrono types the *format-spec* is interpreted as a
103
+ *chrono-format-spec* as described in  [[time.format]].
104
  - For user-defined `formatter` specializations, the behavior of the
105
  `parse` member function determines how the *format-spec* is
106
  interpreted.
107
 
108
  — *end example*]