|
200 | 200 | # error "__cpp_lib_atomic_min_max should not be defined before c++26" |
201 | 201 | # endif |
202 | 202 |
|
203 | | -# if !defined(_LIBCPP_VERSION) |
204 | | -# ifndef __cpp_lib_atomic_ref |
205 | | -# error "__cpp_lib_atomic_ref should be defined in c++20" |
206 | | -# endif |
207 | | -# if __cpp_lib_atomic_ref != 201806L |
208 | | -# error "__cpp_lib_atomic_ref should have the value 201806L in c++20" |
209 | | -# endif |
210 | | -# else // _LIBCPP_VERSION |
211 | | -# ifdef __cpp_lib_atomic_ref |
212 | | -# error "__cpp_lib_atomic_ref should not be defined because it is unimplemented in libc++!" |
213 | | -# endif |
| 203 | +# ifndef __cpp_lib_atomic_ref |
| 204 | +# error "__cpp_lib_atomic_ref should be defined in c++20" |
| 205 | +# endif |
| 206 | +# if __cpp_lib_atomic_ref != 201806L |
| 207 | +# error "__cpp_lib_atomic_ref should have the value 201806L in c++20" |
214 | 208 | # endif |
215 | 209 |
|
216 | 210 | # if !defined(_LIBCPP_VERSION) |
|
299 | 293 | # error "__cpp_lib_atomic_min_max should not be defined before c++26" |
300 | 294 | # endif |
301 | 295 |
|
302 | | -# if !defined(_LIBCPP_VERSION) |
303 | | -# ifndef __cpp_lib_atomic_ref |
304 | | -# error "__cpp_lib_atomic_ref should be defined in c++23" |
305 | | -# endif |
306 | | -# if __cpp_lib_atomic_ref != 201806L |
307 | | -# error "__cpp_lib_atomic_ref should have the value 201806L in c++23" |
308 | | -# endif |
309 | | -# else // _LIBCPP_VERSION |
310 | | -# ifdef __cpp_lib_atomic_ref |
311 | | -# error "__cpp_lib_atomic_ref should not be defined because it is unimplemented in libc++!" |
312 | | -# endif |
| 296 | +# ifndef __cpp_lib_atomic_ref |
| 297 | +# error "__cpp_lib_atomic_ref should be defined in c++23" |
| 298 | +# endif |
| 299 | +# if __cpp_lib_atomic_ref != 201806L |
| 300 | +# error "__cpp_lib_atomic_ref should have the value 201806L in c++23" |
313 | 301 | # endif |
314 | 302 |
|
315 | 303 | # if !defined(_LIBCPP_VERSION) |
|
407 | 395 | # endif |
408 | 396 | # endif |
409 | 397 |
|
410 | | -# if !defined(_LIBCPP_VERSION) |
411 | | -# ifndef __cpp_lib_atomic_ref |
412 | | -# error "__cpp_lib_atomic_ref should be defined in c++26" |
413 | | -# endif |
414 | | -# if __cpp_lib_atomic_ref != 201806L |
415 | | -# error "__cpp_lib_atomic_ref should have the value 201806L in c++26" |
416 | | -# endif |
417 | | -# else // _LIBCPP_VERSION |
418 | | -# ifdef __cpp_lib_atomic_ref |
419 | | -# error "__cpp_lib_atomic_ref should not be defined because it is unimplemented in libc++!" |
420 | | -# endif |
| 398 | +# ifndef __cpp_lib_atomic_ref |
| 399 | +# error "__cpp_lib_atomic_ref should be defined in c++26" |
| 400 | +# endif |
| 401 | +# if __cpp_lib_atomic_ref != 201806L |
| 402 | +# error "__cpp_lib_atomic_ref should have the value 201806L in c++26" |
421 | 403 | # endif |
422 | 404 |
|
423 | 405 | # if !defined(_LIBCPP_VERSION) |
|
0 commit comments