Skip to content

Commit 28f0afa

Browse files
committed
Jiang An comments and provides improved wording
1 parent d4d2978 commit 28f0afa

File tree

1 file changed

+60
-4
lines changed

1 file changed

+60
-4
lines changed

xml/issue3931.xml

Lines changed: 60 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ to establish another feature-test macro (e.g., <tt>__cpp_lib_ranges_mechanism</t
2525
<p>
2626
Set priority to 3 after reflector poll.
2727
</p>
28-
<p>"Needs a more descriptive name than <tt>mechanism</tt>."</p>
29-
30-
</discussion>
28+
<p>
29+
"Needs a more descriptive name than <tt>mechanism</tt>."
30+
</p>
3131

32-
<resolution>
32+
<superseded>
3333
<p>
3434
This wording is relative to <paper num="N4944"/>.
3535
</p>
@@ -59,6 +59,62 @@ This wording is relative to <paper num="N4944"/>.
5959
</blockquote>
6060
</li>
6161

62+
</ol>
63+
64+
</superseded>
65+
66+
<note>2024-07-24; Jiang An comments and provides improved wording</note>
67+
<p>
68+
All utilities changed by <paper num="P2602R2"/>, <paper num="P2609R3"/>, and <paper num="P2997R1"/>
69+
are now freestanding, so these proposed macros should also be freestanding.
70+
</p>
71+
</discussion>
72+
73+
<resolution>
74+
<p>
75+
This wording is relative to <paper num="N4986"/>.
76+
</p>
77+
78+
<ol>
79+
<li>
80+
<p>Modify <sref ref="[version.syn]"/> as indicated:</p>
81+
82+
<blockquote class="note">
83+
<p>
84+
[<i>Drafting notes</i>:
85+
</p>
86+
<ul>
87+
<li><p>It is proposed to restore <tt>__cpp_lib_ranges</tt> to the value denoting <paper num="P2494R2"/>.</p></li>
88+
<li><p><tt>__cpp_lib_ranges_accessors</tt> will cover <paper num="P2602R2"/>.</p></li>
89+
<li><p><tt>__cpp_lib_ranges_indirect_invocation</tt> will cover <paper num="P2609R3"/> and
90+
<paper num="P2997R1"/>.</p></li>
91+
<li><p>None of <paper num="P2602R2"/>, <paper num="P2609R3"/>, and <paper num="P2997R1"/>
92+
really affected utilities in <tt>&lt;functional&gt;</tt>, so these two proposed macros are
93+
not required to be also in <tt>&lt;functional&gt;</tt>.</p></li>
94+
<li><p>Proposed macros are freestanding because utilities changed by these papers are all freestanding now.</p></li>
95+
</ul>
96+
<p>
97+
]
98+
</p>
99+
</blockquote>
100+
101+
<blockquote>
102+
<pre>
103+
[&hellip;]
104+
#define __cpp_lib_ranges <del>202406L</del><ins>202207L</ins>
105+
// <i>also in</i> &lt;algorithm&gt;, &lt;functional&gt;, &lt;iterator&gt;, &lt;memory&gt;, &lt;ranges&gt;
106+
<ins>#define __cpp_lib_ranges_accessors 202211L
107+
// <i>freestanding, also in</i> &lt;algorithm&gt;, &lt;iterator&gt;, &lt;memory&gt;, &lt;ranges&gt;</ins>
108+
[&hellip;]
109+
#define __cpp_lib_ranges_generate_random 202403L // <i>also in</i> &lt;random&gt;
110+
<ins>#define __cpp_lib_ranges_indirect_invocation 202406L
111+
// <i>freestanding, also in</i> &lt;algorithm&gt;, &lt;iterator&gt;, &lt;memory&gt;, &lt;ranges&gt;</ins>
112+
#define __cpp_lib_ranges_iota 202202L // <i>also in</i> &lt;numeric&gt;
113+
[&hellip;]
114+
</pre>
115+
</blockquote>
116+
</li>
117+
62118
</ol>
63119
</resolution>
64120

0 commit comments

Comments
 (0)