From Jason Turner

[format.string.general]

Diff to HTML by rtfpessoa

tmp/tmpgnxh_w5q/{from.md → to.md} RENAMED
@@ -79,13 +79,13 @@ manual indexing. — *end note*]
79
 
80
  ``` cpp
81
  string s0 = format("{} to {}", "a", "b"); // OK, automatic indexing
82
  string s1 = format("{1} to {0}", "a", "b"); // OK, manual indexing
83
  string s2 = format("{0} to {}", "a", "b"); // not a format string (mixing automatic and manual indexing),
84
- // throws format_error
85
  string s3 = format("{} to {1}", "a", "b"); // not a format string (mixing automatic and manual indexing),
86
- // throws format_error
87
  ```
88
 
89
  — *end example*]
90
 
91
  The *format-spec* field contains *format specifications* that define how
 
79
 
80
  ``` cpp
81
  string s0 = format("{} to {}", "a", "b"); // OK, automatic indexing
82
  string s1 = format("{1} to {0}", "a", "b"); // OK, manual indexing
83
  string s2 = format("{0} to {}", "a", "b"); // not a format string (mixing automatic and manual indexing),
84
+ // ill-formed
85
  string s3 = format("{} to {1}", "a", "b"); // not a format string (mixing automatic and manual indexing),
86
+ // ill-formed
87
  ```
88
 
89
  — *end example*]
90
 
91
  The *format-spec* field contains *format specifications* that define how