|
249 | 249 | # error "__cpp_lib_ranges should have the value 202207L in c++23" |
250 | 250 | # endif |
251 | 251 |
|
252 | | -# if !defined(_LIBCPP_VERSION) |
253 | | -# ifndef __cpp_lib_ranges_as_const |
254 | | -# error "__cpp_lib_ranges_as_const should be defined in c++23" |
255 | | -# endif |
256 | | -# if __cpp_lib_ranges_as_const != 202311L |
257 | | -# error "__cpp_lib_ranges_as_const should have the value 202311L in c++23" |
258 | | -# endif |
259 | | -# else // _LIBCPP_VERSION |
260 | | -# ifdef __cpp_lib_ranges_as_const |
261 | | -# error "__cpp_lib_ranges_as_const should not be defined because it is unimplemented in libc++!" |
262 | | -# endif |
| 252 | +# ifndef __cpp_lib_ranges_as_const |
| 253 | +# error "__cpp_lib_ranges_as_const should be defined in c++23" |
| 254 | +# endif |
| 255 | +# if __cpp_lib_ranges_as_const != 202311L |
| 256 | +# error "__cpp_lib_ranges_as_const should have the value 202311L in c++23" |
263 | 257 | # endif |
264 | 258 |
|
265 | 259 | # ifndef __cpp_lib_ranges_as_rvalue |
|
368 | 362 | # error "__cpp_lib_ranges should have the value 202207L in c++26" |
369 | 363 | # endif |
370 | 364 |
|
371 | | -# if !defined(_LIBCPP_VERSION) |
372 | | -# ifndef __cpp_lib_ranges_as_const |
373 | | -# error "__cpp_lib_ranges_as_const should be defined in c++26" |
374 | | -# endif |
375 | | -# if __cpp_lib_ranges_as_const != 202311L |
376 | | -# error "__cpp_lib_ranges_as_const should have the value 202311L in c++26" |
377 | | -# endif |
378 | | -# else // _LIBCPP_VERSION |
379 | | -# ifdef __cpp_lib_ranges_as_const |
380 | | -# error "__cpp_lib_ranges_as_const should not be defined because it is unimplemented in libc++!" |
381 | | -# endif |
| 365 | +# ifndef __cpp_lib_ranges_as_const |
| 366 | +# error "__cpp_lib_ranges_as_const should be defined in c++26" |
| 367 | +# endif |
| 368 | +# if __cpp_lib_ranges_as_const != 202311L |
| 369 | +# error "__cpp_lib_ranges_as_const should have the value 202311L in c++26" |
382 | 370 | # endif |
383 | 371 |
|
384 | 372 | # ifndef __cpp_lib_ranges_as_rvalue |
|
0 commit comments