@@ -25,11 +25,11 @@ to establish another feature-test macro (e.g., <tt>__cpp_lib_ranges_mechanism</t
25
25
<p >
26
26
Set priority to 3 after reflector poll.
27
27
</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 >
31
31
32
- <resolution >
32
+ <superseded >
33
33
<p >
34
34
This wording is relative to <paper num =" N4944" />.
35
35
</p >
@@ -59,6 +59,62 @@ This wording is relative to <paper num="N4944"/>.
59
59
</blockquote >
60
60
</li >
61
61
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 >< functional> </tt >, so these two proposed macros are
93
+ not required to be also in <tt >< functional> </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
+ [… ]
104
+ #define __cpp_lib_ranges <del >202406L</del ><ins >202207L</ins >
105
+ // <i >also in</i > < algorithm> , < functional> , < iterator> , < memory> , < ranges>
106
+ <ins >#define __cpp_lib_ranges_accessors 202211L
107
+ // <i >freestanding, also in</i > < algorithm> , < iterator> , < memory> , < ranges> </ins >
108
+ [… ]
109
+ #define __cpp_lib_ranges_generate_random 202403L // <i >also in</i > < random>
110
+ <ins >#define __cpp_lib_ranges_indirect_invocation 202406L
111
+ // <i >freestanding, also in</i > < algorithm> , < iterator> , < memory> , < ranges> </ins >
112
+ #define __cpp_lib_ranges_iota 202202L // <i >also in</i > < numeric>
113
+ [… ]
114
+ </pre >
115
+ </blockquote >
116
+ </li >
117
+
62
118
</ol >
63
119
</resolution >
64
120
0 commit comments