|
2079 | 2079 | # error "__cpp_lib_clamp should have the value 201603L in c++17"
|
2080 | 2080 | # endif
|
2081 | 2081 |
|
| 2082 | +# ifdef __cpp_lib_common_reference |
| 2083 | +# error "__cpp_lib_common_reference should not be defined before c++20" |
| 2084 | +# endif |
| 2085 | + |
| 2086 | +# ifdef __cpp_lib_common_reference_wrapper |
| 2087 | +# error "__cpp_lib_common_reference_wrapper should not be defined before c++20" |
| 2088 | +# endif |
| 2089 | + |
2082 | 2090 | # ifndef __cpp_lib_complex_udls
|
2083 | 2091 | # error "__cpp_lib_complex_udls should be defined in c++17"
|
2084 | 2092 | # endif
|
|
2114 | 2122 | # error "__cpp_lib_constexpr_dynamic_alloc should not be defined before c++20"
|
2115 | 2123 | # endif
|
2116 | 2124 |
|
| 2125 | +# ifdef __cpp_lib_constexpr_forward_list |
| 2126 | +# error "__cpp_lib_constexpr_forward_list should not be defined before c++26" |
| 2127 | +# endif |
| 2128 | + |
2117 | 2129 | # ifdef __cpp_lib_constexpr_functional
|
2118 | 2130 | # error "__cpp_lib_constexpr_functional should not be defined before c++20"
|
2119 | 2131 | # endif
|
|
2122 | 2134 | # error "__cpp_lib_constexpr_iterator should not be defined before c++20"
|
2123 | 2135 | # endif
|
2124 | 2136 |
|
| 2137 | +# ifdef __cpp_lib_constexpr_list |
| 2138 | +# error "__cpp_lib_constexpr_list should not be defined before c++26" |
| 2139 | +# endif |
| 2140 | + |
2125 | 2141 | # ifdef __cpp_lib_constexpr_memory
|
2126 | 2142 | # error "__cpp_lib_constexpr_memory should not be defined before c++20"
|
2127 | 2143 | # endif
|
|
2134 | 2150 | # error "__cpp_lib_constexpr_numeric should not be defined before c++20"
|
2135 | 2151 | # endif
|
2136 | 2152 |
|
| 2153 | +# ifdef __cpp_lib_constexpr_queue |
| 2154 | +# error "__cpp_lib_constexpr_queue should not be defined before c++26" |
| 2155 | +# endif |
| 2156 | + |
2137 | 2157 | # ifdef __cpp_lib_constexpr_string
|
2138 | 2158 | # error "__cpp_lib_constexpr_string should not be defined before c++20"
|
2139 | 2159 | # endif
|
|
3297 | 3317 | # error "__cpp_lib_clamp should have the value 201603L in c++20"
|
3298 | 3318 | # endif
|
3299 | 3319 |
|
| 3320 | +# ifndef __cpp_lib_common_reference |
| 3321 | +# error "__cpp_lib_common_reference should be defined in c++20" |
| 3322 | +# endif |
| 3323 | +# if __cpp_lib_common_reference != 202302L |
| 3324 | +# error "__cpp_lib_common_reference should have the value 202302L in c++20" |
| 3325 | +# endif |
| 3326 | + |
| 3327 | +# ifndef __cpp_lib_common_reference_wrapper |
| 3328 | +# error "__cpp_lib_common_reference_wrapper should be defined in c++20" |
| 3329 | +# endif |
| 3330 | +# if __cpp_lib_common_reference_wrapper != 202302L |
| 3331 | +# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++20" |
| 3332 | +# endif |
| 3333 | + |
3300 | 3334 | # ifndef __cpp_lib_complex_udls
|
3301 | 3335 | # error "__cpp_lib_complex_udls should be defined in c++20"
|
3302 | 3336 | # endif
|
|
3344 | 3378 | # error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++20"
|
3345 | 3379 | # endif
|
3346 | 3380 |
|
| 3381 | +# ifdef __cpp_lib_constexpr_forward_list |
| 3382 | +# error "__cpp_lib_constexpr_forward_list should not be defined before c++26" |
| 3383 | +# endif |
| 3384 | + |
3347 | 3385 | # ifndef __cpp_lib_constexpr_functional
|
3348 | 3386 | # error "__cpp_lib_constexpr_functional should be defined in c++20"
|
3349 | 3387 | # endif
|
|
3358 | 3396 | # error "__cpp_lib_constexpr_iterator should have the value 201811L in c++20"
|
3359 | 3397 | # endif
|
3360 | 3398 |
|
| 3399 | +# ifdef __cpp_lib_constexpr_list |
| 3400 | +# error "__cpp_lib_constexpr_list should not be defined before c++26" |
| 3401 | +# endif |
| 3402 | + |
3361 | 3403 | # ifndef __cpp_lib_constexpr_memory
|
3362 | 3404 | # error "__cpp_lib_constexpr_memory should be defined in c++20"
|
3363 | 3405 | # endif
|
|
3376 | 3418 | # error "__cpp_lib_constexpr_numeric should have the value 201911L in c++20"
|
3377 | 3419 | # endif
|
3378 | 3420 |
|
| 3421 | +# ifdef __cpp_lib_constexpr_queue |
| 3422 | +# error "__cpp_lib_constexpr_queue should not be defined before c++26" |
| 3423 | +# endif |
| 3424 | + |
3379 | 3425 | # ifndef __cpp_lib_constexpr_string
|
3380 | 3426 | # error "__cpp_lib_constexpr_string should be defined in c++20"
|
3381 | 3427 | # endif
|
|
4734 | 4780 | # error "__cpp_lib_clamp should have the value 201603L in c++23"
|
4735 | 4781 | # endif
|
4736 | 4782 |
|
| 4783 | +# ifndef __cpp_lib_common_reference |
| 4784 | +# error "__cpp_lib_common_reference should be defined in c++23" |
| 4785 | +# endif |
| 4786 | +# if __cpp_lib_common_reference != 202302L |
| 4787 | +# error "__cpp_lib_common_reference should have the value 202302L in c++23" |
| 4788 | +# endif |
| 4789 | + |
| 4790 | +# ifndef __cpp_lib_common_reference_wrapper |
| 4791 | +# error "__cpp_lib_common_reference_wrapper should be defined in c++23" |
| 4792 | +# endif |
| 4793 | +# if __cpp_lib_common_reference_wrapper != 202302L |
| 4794 | +# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++23" |
| 4795 | +# endif |
| 4796 | + |
4737 | 4797 | # ifndef __cpp_lib_complex_udls
|
4738 | 4798 | # error "__cpp_lib_complex_udls should be defined in c++23"
|
4739 | 4799 | # endif
|
|
4796 | 4856 | # error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++23"
|
4797 | 4857 | # endif
|
4798 | 4858 |
|
| 4859 | +# ifdef __cpp_lib_constexpr_forward_list |
| 4860 | +# error "__cpp_lib_constexpr_forward_list should not be defined before c++26" |
| 4861 | +# endif |
| 4862 | + |
4799 | 4863 | # ifndef __cpp_lib_constexpr_functional
|
4800 | 4864 | # error "__cpp_lib_constexpr_functional should be defined in c++23"
|
4801 | 4865 | # endif
|
|
4810 | 4874 | # error "__cpp_lib_constexpr_iterator should have the value 201811L in c++23"
|
4811 | 4875 | # endif
|
4812 | 4876 |
|
| 4877 | +# ifdef __cpp_lib_constexpr_list |
| 4878 | +# error "__cpp_lib_constexpr_list should not be defined before c++26" |
| 4879 | +# endif |
| 4880 | + |
4813 | 4881 | # ifndef __cpp_lib_constexpr_memory
|
4814 | 4882 | # error "__cpp_lib_constexpr_memory should be defined in c++23"
|
4815 | 4883 | # endif
|
|
4828 | 4896 | # error "__cpp_lib_constexpr_numeric should have the value 201911L in c++23"
|
4829 | 4897 | # endif
|
4830 | 4898 |
|
| 4899 | +# ifdef __cpp_lib_constexpr_queue |
| 4900 | +# error "__cpp_lib_constexpr_queue should not be defined before c++26" |
| 4901 | +# endif |
| 4902 | + |
4831 | 4903 | # ifndef __cpp_lib_constexpr_string
|
4832 | 4904 | # error "__cpp_lib_constexpr_string should be defined in c++23"
|
4833 | 4905 | # endif
|
|
5629 | 5701 | # error "__cpp_lib_ranges_iota should have the value 202202L in c++23"
|
5630 | 5702 | # endif
|
5631 | 5703 |
|
5632 |
| -# if !defined(_LIBCPP_VERSION) |
5633 |
| -# ifndef __cpp_lib_ranges_join_with |
5634 |
| -# error "__cpp_lib_ranges_join_with should be defined in c++23" |
5635 |
| -# endif |
5636 |
| -# if __cpp_lib_ranges_join_with != 202202L |
5637 |
| -# error "__cpp_lib_ranges_join_with should have the value 202202L in c++23" |
5638 |
| -# endif |
5639 |
| -# else |
5640 |
| -# ifdef __cpp_lib_ranges_join_with |
5641 |
| -# error "__cpp_lib_ranges_join_with should not be defined because it is unimplemented in libc++!" |
5642 |
| -# endif |
| 5704 | +# ifndef __cpp_lib_ranges_join_with |
| 5705 | +# error "__cpp_lib_ranges_join_with should be defined in c++23" |
| 5706 | +# endif |
| 5707 | +# if __cpp_lib_ranges_join_with != 202202L |
| 5708 | +# error "__cpp_lib_ranges_join_with should have the value 202202L in c++23" |
5643 | 5709 | # endif
|
5644 | 5710 |
|
5645 | 5711 | # ifndef __cpp_lib_ranges_repeat
|
|
6408 | 6474 | # error "__cpp_lib_clamp should have the value 201603L in c++26"
|
6409 | 6475 | # endif
|
6410 | 6476 |
|
| 6477 | +# ifndef __cpp_lib_common_reference |
| 6478 | +# error "__cpp_lib_common_reference should be defined in c++26" |
| 6479 | +# endif |
| 6480 | +# if __cpp_lib_common_reference != 202302L |
| 6481 | +# error "__cpp_lib_common_reference should have the value 202302L in c++26" |
| 6482 | +# endif |
| 6483 | + |
| 6484 | +# ifndef __cpp_lib_common_reference_wrapper |
| 6485 | +# error "__cpp_lib_common_reference_wrapper should be defined in c++26" |
| 6486 | +# endif |
| 6487 | +# if __cpp_lib_common_reference_wrapper != 202302L |
| 6488 | +# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++26" |
| 6489 | +# endif |
| 6490 | + |
6411 | 6491 | # ifndef __cpp_lib_complex_udls
|
6412 | 6492 | # error "__cpp_lib_complex_udls should be defined in c++26"
|
6413 | 6493 | # endif
|
|
6470 | 6550 | # error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++26"
|
6471 | 6551 | # endif
|
6472 | 6552 |
|
| 6553 | +# ifndef __cpp_lib_constexpr_forward_list |
| 6554 | +# error "__cpp_lib_constexpr_forward_list should be defined in c++26" |
| 6555 | +# endif |
| 6556 | +# if __cpp_lib_constexpr_forward_list != 202502L |
| 6557 | +# error "__cpp_lib_constexpr_forward_list should have the value 202502L in c++26" |
| 6558 | +# endif |
| 6559 | + |
6473 | 6560 | # ifndef __cpp_lib_constexpr_functional
|
6474 | 6561 | # error "__cpp_lib_constexpr_functional should be defined in c++26"
|
6475 | 6562 | # endif
|
|
6484 | 6571 | # error "__cpp_lib_constexpr_iterator should have the value 201811L in c++26"
|
6485 | 6572 | # endif
|
6486 | 6573 |
|
| 6574 | +# ifndef __cpp_lib_constexpr_list |
| 6575 | +# error "__cpp_lib_constexpr_list should be defined in c++26" |
| 6576 | +# endif |
| 6577 | +# if __cpp_lib_constexpr_list != 202502L |
| 6578 | +# error "__cpp_lib_constexpr_list should have the value 202502L in c++26" |
| 6579 | +# endif |
| 6580 | + |
6487 | 6581 | # ifndef __cpp_lib_constexpr_memory
|
6488 | 6582 | # error "__cpp_lib_constexpr_memory should be defined in c++26"
|
6489 | 6583 | # endif
|
|
6511 | 6605 | # error "__cpp_lib_constexpr_numeric should have the value 201911L in c++26"
|
6512 | 6606 | # endif
|
6513 | 6607 |
|
| 6608 | +# ifndef __cpp_lib_constexpr_queue |
| 6609 | +# error "__cpp_lib_constexpr_queue should be defined in c++26" |
| 6610 | +# endif |
| 6611 | +# if __cpp_lib_constexpr_queue != 202502L |
| 6612 | +# error "__cpp_lib_constexpr_queue should have the value 202502L in c++26" |
| 6613 | +# endif |
| 6614 | + |
6514 | 6615 | # ifndef __cpp_lib_constexpr_string
|
6515 | 6616 | # error "__cpp_lib_constexpr_string should be defined in c++26"
|
6516 | 6617 | # endif
|
|
6553 | 6654 | # error "__cpp_lib_constexpr_vector should have the value 201907L in c++26"
|
6554 | 6655 | # endif
|
6555 | 6656 |
|
6556 |
| -# if !defined(_LIBCPP_VERSION) |
6557 |
| -# ifndef __cpp_lib_constrained_equality |
6558 |
| -# error "__cpp_lib_constrained_equality should be defined in c++26" |
6559 |
| -# endif |
6560 |
| -# if __cpp_lib_constrained_equality != 202403L |
6561 |
| -# error "__cpp_lib_constrained_equality should have the value 202403L in c++26" |
6562 |
| -# endif |
6563 |
| -# else |
6564 |
| -# ifdef __cpp_lib_constrained_equality |
6565 |
| -# error "__cpp_lib_constrained_equality should not be defined because it is unimplemented in libc++!" |
6566 |
| -# endif |
| 6657 | +# ifndef __cpp_lib_constrained_equality |
| 6658 | +# error "__cpp_lib_constrained_equality should be defined in c++26" |
| 6659 | +# endif |
| 6660 | +# if __cpp_lib_constrained_equality != 202411L |
| 6661 | +# error "__cpp_lib_constrained_equality should have the value 202411L in c++26" |
6567 | 6662 | # endif
|
6568 | 6663 |
|
6569 | 6664 | # ifndef __cpp_lib_containers_ranges
|
|
7365 | 7460 | # error "__cpp_lib_optional should have the value 202110L in c++26"
|
7366 | 7461 | # endif
|
7367 | 7462 |
|
7368 |
| -# if !defined(_LIBCPP_VERSION) |
7369 |
| -# ifndef __cpp_lib_optional_range_support |
7370 |
| -# error "__cpp_lib_optional_range_support should be defined in c++26" |
7371 |
| -# endif |
7372 |
| -# if __cpp_lib_optional_range_support != 202406L |
7373 |
| -# error "__cpp_lib_optional_range_support should have the value 202406L in c++26" |
7374 |
| -# endif |
7375 |
| -# else |
7376 |
| -# ifdef __cpp_lib_optional_range_support |
7377 |
| -# error "__cpp_lib_optional_range_support should not be defined because it is unimplemented in libc++!" |
7378 |
| -# endif |
| 7463 | +# ifndef __cpp_lib_optional_range_support |
| 7464 | +# error "__cpp_lib_optional_range_support should be defined in c++26" |
| 7465 | +# endif |
| 7466 | +# if __cpp_lib_optional_range_support != 202406L |
| 7467 | +# error "__cpp_lib_optional_range_support should have the value 202406L in c++26" |
7379 | 7468 | # endif
|
7380 | 7469 |
|
7381 | 7470 | # ifndef __cpp_lib_out_ptr
|
|
7531 | 7620 | # error "__cpp_lib_ranges_iota should have the value 202202L in c++26"
|
7532 | 7621 | # endif
|
7533 | 7622 |
|
7534 |
| -# if !defined(_LIBCPP_VERSION) |
7535 |
| -# ifndef __cpp_lib_ranges_join_with |
7536 |
| -# error "__cpp_lib_ranges_join_with should be defined in c++26" |
7537 |
| -# endif |
7538 |
| -# if __cpp_lib_ranges_join_with != 202202L |
7539 |
| -# error "__cpp_lib_ranges_join_with should have the value 202202L in c++26" |
7540 |
| -# endif |
7541 |
| -# else |
7542 |
| -# ifdef __cpp_lib_ranges_join_with |
7543 |
| -# error "__cpp_lib_ranges_join_with should not be defined because it is unimplemented in libc++!" |
7544 |
| -# endif |
| 7623 | +# ifndef __cpp_lib_ranges_join_with |
| 7624 | +# error "__cpp_lib_ranges_join_with should be defined in c++26" |
| 7625 | +# endif |
| 7626 | +# if __cpp_lib_ranges_join_with != 202202L |
| 7627 | +# error "__cpp_lib_ranges_join_with should have the value 202202L in c++26" |
7545 | 7628 | # endif
|
7546 | 7629 |
|
7547 | 7630 | # ifndef __cpp_lib_ranges_repeat
|
|
0 commit comments