File tree Expand file tree Collapse file tree 1 file changed +34
-3
lines changed Expand file tree Collapse file tree 1 file changed +34
-3
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,7 @@ end-of-sequence iterators or both have the same underlying sequence.</ins>
76
76
77
77
<note >2018-08-23 Casey revises the P/R in response to LWG feedback</note >
78
78
79
- </discussion >
80
-
81
- <resolution >
79
+ <superseded >
82
80
<p >This wording is relative to <a href =" https://wg21.link/n4762" >N4762</a >.</p >
83
81
84
82
<ul >
@@ -108,6 +106,39 @@ same underlying sequence.</ins>
108
106
</blockquote >
109
107
</li >
110
108
</ul >
109
+ </superseded >
110
+
111
+ <note >2024-10-03; Jonathan rebases the wording on the latest WP</note >
112
+
113
+ </discussion >
114
+
115
+ <resolution >
116
+ <p >This wording is relative to <paper num =" n4988" />.</p >
117
+
118
+ <ul >
119
+ <li ><p >Modify <sref ref =" [re.tokiter.comp]" /> as follows:</p >
120
+ <blockquote >
121
+ <pre >
122
+ bool operator==(const regex_token_iterator& right) const;
123
+ </pre >
124
+ <p >
125
+ <ins >-?- <i >Preconditions:</i >
126
+ At least one of <tt >*this</tt > and <tt >right</tt > is an end-of-sequence iterator,
127
+ or <tt >*this</tt > and <tt >right</tt > have the same underlying sequence.</ins >
128
+ </p ><p >
129
+ -1- <i >Returns:</i > <tt >true</tt > if <tt >*this</tt > and <tt >right</tt > are both
130
+ end-of-sequence iterators,
131
+ or if `*this` and `right` are both suffix iterators and `suffix == right.suffix`;
132
+ otherwise returns `false` if `*this` or `right` is an end-of-sequence iterator
133
+ or a suffix iterator.
134
+ Otherwise returns `true` if `position == right.position`, `N == right.N`,
135
+ and `subs == right.subs`.
136
+ Otherwise returns `false`.
137
+ </p >
138
+ </blockquote >
139
+ </li >
140
+ </ul >
141
+
111
142
</resolution >
112
143
113
144
</issue >
You can’t perform that action at this time.
0 commit comments