@@ -132,10 +132,10 @@ auto operator--(number_line_pre_decrement<1>& x,int) -> number_line_pre_decremen
132
132
133
133
#line 4 "mixed-increment-decrement.cpp2"
134
134
template <typename T> auto iterator<T>::operator ++() & -> iterator<T>&
135
- requires (true ) {++x; return (*this ); }
135
+ CPP2_REQUIRES (true ) {++x; return (*this ); }
136
136
#line 4 "mixed-increment-decrement.cpp2"
137
137
template <typename T> auto iterator<T>::operator ++(int ) & -> iterator<T>
138
- requires (true ) { auto ret = *this ; ++*this ; return ret; }
138
+ CPP2_REQUIRES (true ) { auto ret = *this ; ++*this ; return ret; }
139
139
140
140
141
141
template <typename T> iterator<T>::iterator(iterator const & that)
@@ -163,26 +163,26 @@ template <typename T> auto iterator2<T>::operator=(iterator2&& that) noexcept ->
163
163
template <typename T> iterator2<T>::iterator2(){}
164
164
#line 10 "mixed-increment-decrement.cpp2"
165
165
template <typename T> auto operator ++(iterator2<T>& it) -> iterator2<T>&
166
- requires (true ) {++it.x ; return it; }
166
+ CPP2_REQUIRES (true ) {++it.x ; return it; }
167
167
#line 10 "mixed-increment-decrement.cpp2"
168
168
template <typename T> auto operator ++(iterator2<T>& it,int ) -> iterator2<T>
169
- requires (true ) { auto ret = it; ++it; return ret; }
169
+ CPP2_REQUIRES (true ) { auto ret = it; ++it; return ret; }
170
170
171
171
#line 36 "mixed-increment-decrement.cpp2"
172
172
[[nodiscard]] auto number::operator -([[maybe_unused]] auto const & unnamed_param_2) const & -> int { return 0 ; }
173
173
174
174
#line 48 "mixed-increment-decrement.cpp2"
175
175
template <cpp2::i8 Op, cpp2::i32 Id> auto operator ++(number_line<Op,Id>& x) -> number_line<Op,Id>&
176
- requires (bool (Op & 1 )) { return x; }
176
+ CPP2_REQUIRES (bool (Op & 1 )) { return x; }
177
177
#line 48 "mixed-increment-decrement.cpp2"
178
178
template <cpp2::i8 Op, cpp2::i32 Id> auto operator ++(number_line<Op,Id>& x,int ) -> number_line<Op,Id>
179
- requires (bool (Op & 1 )) { auto ret = x; ++x; return ret; }
179
+ CPP2_REQUIRES (bool (Op & 1 )) { auto ret = x; ++x; return ret; }
180
180
#line 49 "mixed-increment-decrement.cpp2"
181
181
template <cpp2::i8 Op, cpp2::i32 Id> auto operator --(number_line<Op,Id>& x) -> number_line<Op,Id>&
182
- requires (bool (Op & 2 )) { return x; }
182
+ CPP2_REQUIRES (bool (Op & 2 )) { return x; }
183
183
#line 49 "mixed-increment-decrement.cpp2"
184
184
template <cpp2::i8 Op, cpp2::i32 Id> auto operator --(number_line<Op,Id>& x,int ) -> number_line<Op,Id>
185
- requires (bool (Op & 2 )) { auto ret = x; ++x; return ret; }
185
+ CPP2_REQUIRES (bool (Op & 2 )) { auto ret = x; ++x; return ret; }
186
186
187
187
#line 51 "mixed-increment-decrement.cpp2"
188
188
auto operator ++(number_line_pre_increment<0 >& x) -> number_line_pre_increment<0 >& { return x; }
0 commit comments