Skip to content

Commit 546d4d9

Browse files
committed
Set priority for 4039 and add wording
1 parent 731180d commit 546d4d9

File tree

1 file changed

+54
-3
lines changed

1 file changed

+54
-3
lines changed

xml/issue4039.xml

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<section><sref ref="[ostream.formatted.print]"/></section>
88
<submitter>Jan Kokemüller</submitter>
99
<date>13 Jan 2024</date>
10-
<priority>99</priority>
10+
<priority>4</priority>
1111

1212
<discussion>
1313
<p>
@@ -37,9 +37,19 @@ of the actual output sequence integrity and is therefore set by the second phase
3737
Therefore mentioning <tt>ios_base::badbit</tt> in (3.2) doesn't really make sense, it could only meaningfully
3838
refer to <tt>ios_base::failbit</tt> instead.
3939
</p>
40-
</discussion>
4140

42-
<resolution>
41+
<note>2025-10-16; Reflector poll</note>
42+
<p>
43+
Set priority to 4 after reflector poll.
44+
</p>
45+
<p>
46+
"NAD. The reason it talks about badbit is that exceptions set badbit in
47+
IOStreams but not failbit. If we don’t want to hook into the stream’s
48+
error handling mentioning badbit is correct."
49+
</p>
50+
51+
52+
<superseded>
4353
<p>
4454
This wording is relative to <paper num="N4971"/>.
4555
</p>
@@ -70,6 +80,47 @@ in the error state of <tt>os</tt>.</p></li>
7080
</blockquote>
7181
</li>
7282
</ol>
83+
</superseded>
84+
85+
<note>2025-10-16; Daniel provides new wording</note>
86+
87+
</discussion>
88+
89+
<resolution>
90+
91+
<p>
92+
This wording is relative to <paper num="N5014"/>.
93+
</p>
94+
95+
<ol>
96+
<li><p>Modify <sref ref="[ostream.formatted.print]"/> as indicated:</p>
97+
98+
<blockquote>
99+
<pre>
100+
void vprint_unicode(ostream&amp; os, string_view fmt, format_args args);
101+
void vprint_nonunicode(ostream&amp; os, string_view fmt, format_args args);
102+
</pre>
103+
<blockquote>
104+
<p>
105+
-3- <i>Effects</i>: Behaves as a formatted output function (<sref ref="[ostream.formatted.reqmts]"/>)
106+
of <tt>os</tt>, except that:
107+
</p>
108+
<ol style="list-style-type: none">
109+
<li><p>(3.1) &mdash; failure to generate output is reported as specified below, and</p></li>
110+
<li><p>(3.2) &mdash; any exception thrown by the call to <tt>vformat</tt> is propagated without regard
111+
to the value of <tt>os.exceptions()</tt> and without turning on
112+
<ins><tt>ios_base::failbit</tt> or</ins>
113+
<tt>ios_base::badbit</tt>
114+
in the error state of <tt>os</tt>.</p></li>
115+
</ol>
116+
<p>
117+
[&hellip;]
118+
</p>
119+
</blockquote>
120+
</blockquote>
121+
</li>
122+
</ol>
123+
73124
</resolution>
74125

75126
</issue>

0 commit comments

Comments
 (0)