Skip to content

Commit e540e4a

Browse files
committed
Set 4268 to P3
1 parent a18ddd2 commit e540e4a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

xml/issue4268.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<section><sref ref="[func.require]"/></section>
77
<submitter>Jonathan Wakely</submitter>
88
<date>29 May 2025</date>
9-
<priority>99</priority>
9+
<priority>3</priority>
1010

1111
<discussion>
1212
<pre><code>struct [[nodiscard]] A { };
@@ -43,6 +43,21 @@ That would allow us to be selective about which uses of
4343
<code><i>INVOKE</i>&lt;void&gt;</code> we consider to be explicit about
4444
discarding results, and which we don't.
4545
</p>
46+
47+
<note>2025-10-21; Reflector poll.</note>
48+
<p>
49+
Set priority to 3 after reflector poll.
50+
</p>
51+
<p>
52+
Split opinions between considering this NAD due warnings being QoI matter,
53+
and explicit use <tt>static_cast&lt;void&gt;</tt> indicating that any
54+
<tt>nodiscard</tt> warning should be silenced.
55+
</p>
56+
<p>
57+
Concerns where expressed that removing <tt>static_assert</tt> is insufficient,
58+
as warnings may be still suppressed by heuristics that remove warnings
59+
originating from system headers.
60+
</p>
4661
</discussion>
4762

4863
<resolution>

0 commit comments

Comments
 (0)