File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 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 >< void> </code > we consider to be explicit about
4444discarding 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< void> </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 >
You can’t perform that action at this time.
0 commit comments